Code an iPhone App with XCode

Code an iPhone App with XCode

This is a tutorial on coding an iPhone App in XCode.

Similar to one of my first blog posts on building a basic application for Mac OS X using xcode 3.0, I am going to explain for beginning iPhone/iPod Touch developers how to build the most basic Cocoa Touch application using Interface Builder and an application delegate in xcode 3.1. This tutorial post is really to provide a quick how-to. I won’t go into any depth explaining why things are done the way they are done, but this should help you get up and running with your first application pretty quickly so that you too can clog the App Store with useless superfluous apps (kidding… just kidding).

If you are a visual learner, it may be helpful to you to instead watch a video presentation of this tutorial. I’ve posted it on the site, but you’ll have to click the link to see my Cocoa Touch Video Tutorial.

Understanding Cocoa programming is much simpler if you learn MVC, Model, View, Controller. You can probably step through code examples and figure some things out without learning MVC, but I wouldn’t recommend it. Go Google it and read up on it.

As an introduction to MVC for those who are not familiar that it should probably be called (Model <--> Controller <--> View) or (View <--> Controller <--> Model) as the controller always sits between the other two. Your controller is either telling your model to update its data or it is telling the view to update its display. That’s the crux of the whole paradigm. The details run much deeper, but that’s how I will nutshell it for you.

Hosted by cimgf.com
Creator's Site: www.cimgf.com

Comments

Add your comment:

DIY Ocular Assault Weapon

The latest in Graffiti-tech: How to write with your eyes. Via Instructables, "Behold the latest ocular assault weapon from the Graffiti Research Lab, openFrameworks, The Fat Lab and The Ebeling ...

Retro Electronics Papercraft For the Brazil '66 Crowd

Dan McPharlin has created some super-sweet retro electronics papercraft models. Click through to Dan's Flickr page to view the entire collection. Beautiful handmade cardboard models. Previously ...

Cai Guo-Qiang's (Literally) Explosive Art

Attention all WonderHowTo explosive-lovers, here is an artist that just may awe and inspire... China's Cai Guo-Qiang opts for more thrilling materials than traditional paint, clay or plaster, say ...

Roly-Poly Bridge

Heatherwick Studio's London based rolling bridge is an engineering marvel. Lots of fun, and immensely satisfying to watch (via YouTube, assuming you can't see it in person). From Heatherwick Studio: ...

Master Nerd Births Perfect Copy Cat Bot

Can't help but smile at this goofy, endearing nerd "master" (Vitalijus Rodnovas) guiding his copy-cat protege robot (coined Waldo). The rig allows Waldo to mimic Rodnovas' body movements in ...

loading...