Last night I tried my hand at iPhone development. I watched the Stanford classes on iTunes U. The first class by Evan Doll was ok. Since I’ve been programming for a while, really the only thing that helped was the last 15 minutes where he gave a demo of it. The demo didn’t work and there were also some differences in Xcode with my setup (either that or its the new 3.0 stuff.) I was able to figure it out and get it working.
2 Gotchas:
1. Make sure you save the .xib file in Interface builder before compiling and running in Xcode with apple-R
2. The part I was stuck on was adding the Actions and Outlets. I couldn’t do this in the Inspector window like he did. I created the class in the Inspector, but then had to add the Action and Outlets in the Tools->Library. Select the class in the list of all the classes and then you can edit it below.
Once that was done, I could follow along with the rest. It was a good way to jump into iPhone development. For me, since I come from the world of no IDE’s and just VI, this was a good intro. Hopefully I’ll be able to get more into it in the future. It certainly looks like a cool platform to develop on.
Comments are closed.