Browsing all articles in Development Tips
Custom Button in NavBar
Just a quick snippet of code for you guys today.
Ever wanted to know how to put a custom image into the navigation bar? It’s actually pretty easy. Create a UIButton object, and stick that into the UIBarButtonItem object. The trick is to remember to set the size:
UIButton *add = [UIButton buttonWithType:UIButtonTypeCustom];
image = [UIImage imageNamed:@"button_plus.png"];
[add [...]
iPhone QRCode Integration
For one of my jobs I had to integrate QRCodes into the app. A QRCode is a 2 dimensional barcode, like you see here:
There are several ways of generating QRCodes online, including this one for generating MeCards, and this one for generating text, URL, SMS, and phone number ones.
Integrating QRCodes into an iPhone app is [...]
Fading an Image into Another
My Pollen project required that I be able to have an image, and fade it into another image. Other projects since then have also had similar requirements. The effect is very nice, and the great thing is that the code is really quite simple. Just have two images, and do an animation from one to [...]
Fixing Broken Pipes
There’s nothing like the simulator for putting your app together quickly. It’s better than debugging on the device for one main reason: it’s fast! Starting up the app is fast. Debugging the app is fast. Everything is fast.
But sometimes you just need to slow down. By using the device. Of course, I was testing on [...]
Images in a Scroll View
I know that when I was a beginning iPhone developer doing things that seem so simple now weren’t so simple back then. Just because I didn’t know any better and was unaware of the tools and API’s available to me.
One thing that I’ve been doing a lot recently is putting several images in a UIScrollView, [...]

