iOS Basics - UINavigation Controller & Back Button Text

I've brought an old project out of the moth balls recently, the Migraine Diary application I wrote as part of my master's thesis. It was my first "real" iPhone app and I call tell I didn't know what I was doing entirely looking through the code. What this has forced me to do, however, is re-learn some of the basics of iOS development and of Apple design patterns. I have been spending some time back in the Apple developer documentation and will probably be posting some of the gotchas that tripped me up two years ago and I'm solving now with the better, more elegant solution. ...

March 20, 2011 · 2 min · Aaron

Loading a UIImage from a bundle

I've been scratching my freaking head for an hour trying to figure out how to load an image from my application's bundle. Doing this in Interface Builder is easy as pie, but not so straightforward. [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"thefilename" ofType:@"jpg"]]; Easy, isn't it?

June 4, 2009 · 1 min · Aaron