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
Curated By: bird crick

Comments

Add your comment:

Jaw Dropping Trampoline Skills

Cirque Du Soleil look no further, Adam Menzies is your next act. This guy's trampoline skills are insane. My favorite part starts at 0:24. Speechless. Oh yeah. Almost forgot. Here Adam jumps up to the ...

Undulating LED Wave Sculpture

Beautiful LED sculpture made for the 2008 100% Design exhibition in Earls Court. Curious how it was made? Process images below the video. Previously, 24,000 LED Light-Up-My-Dress. LED Wand + RIFD ...

Robot Dance Off Gets Creepy

As November was coming to an end this year, the "6th Robo-One Gate in International Robot Exhibition 2009" dance competition took place. The contenders are just a little bit creepy, to say ...

2009's Most Amazing Scientific Images

Popsci has posted 2009's most amazing scientific images, and there's quite a few great ones in there. A few of our favorites below, click through for all 62. In short, Cow Farts. "Scientists ...

DARPA Develops Explosive Blocking Mega-Shield

DARPA has released footage of the Iron Curtain, a pretty impressive shield system that will protect armored vehicles from oncoming explosives. With $8 million in Army approved funds, DARPA will ...

loading...