From the category archives:

iPhone Development

Let’s face it, developing applications for the iPhone isn’t exactly a walk in the park. Objective-c has a much steeper learning curve than say, C# or Java. And learning how to use Xcode and Interface Builder can be quite an exercise if you’re more used to an IDE like Visual Studio or Eclipse.

The iPhone Developer Center is a decent resource for budding iPhone developers, but I’ve found that many of the sample applications are far too trivial to be good examples for best practices when it comes to developing on the iPhone. Heck, some of Apple’s example applications are downright contradictory to each other in terms of how they implement the MVC pattern.

This may not be true for other programmers, but at least for me, one of the best ways for me to learn a new language is not to run through a bunch of tutorials or to read a book on the language, but to just start reading through some well written source code. If you’re already fairly well versed in another programming language, chances are the language you’re trying to learn won’t be that different, and you’ll be able to figure things out pretty quickly just by looking at some source code.

So, the question of the day then becomes, where might you find some good iPhone source code to look at? Following is a list of open source iPhone applications that can serve as good examples for a new developer trying to learn the ropes of objective-c and iPhone development.

  • WordPress – a WordPress client on your iPhone that lets you write posts, upload photos, and edit your WordPress blog
  • Freshbooks – an excellent companion to the already fabulous Freshbooks site – an application that’s great for freelancers to do time tracking and billing
  • wikiHow – brings wikiHow’s content directly to your iPhone.
  • Twitterfon – a Twitter client
  • Gorillas – the classic game from the good ‘ole DOS days
  • Tris – a Tetris clone

{ 0 comments }

iphone-keyboardWhile working on a new iPhone application the other day, I was surprised to find out that the keyboard does not automatically hide itself after pressing the “Done” button. This seems odd to me, because what would you want the “Done” button to do, other than hide the keyboard? It seems like this should be the default behavior, but unfortunately it isn’t. So if you want to automatically hide the iPhone’s keyboard when a user presses the “Done” button, here’s what you need to do.

Read the full article →

{ 3 comments }

Introducing iVanish, My 3rd iPhone App

February 25, 2009 iPhone Development

Today I am happy to announce the release of my 3rd iPhone application, iVanish.
Remember those old novelty pens where the woman’s clothes disappeared when you tilted the pen? With iVanish, you can have that same novelty gag on your iPhone or iPod Touch!
For those keeping score at home, iVanish is the app that I previously [...]

Read the full article →

Getting started with iPhone development: Learning how to use the Interface Builder

February 21, 2009 iPhone Development

Over the past couple of months, I’ve found myself diving into the land of iPhone development. I’m doing it mostly just for fun and for the learning experience, but who knows, maybe I’ll even make a few bucks in the process.

One of the first things that you need to figure out when learning to [...]

Read the full article →

Thoughts on having an application rejected from the iPhone App Store

January 30, 2009 iPhone Development

Last week, I submitted my latest application to the App Store.  This was my third iPhone application, and it was something I had spent a fair amount of time coding and polishing, and had paid a graphic designer a hefty sum to create several high-quality graphics.
Several days later, I heard back from Apple: my application [...]

Read the full article →