I am looking for an introduction into developing for the iPhone. Any recommendation? I do not speak Objective-C either, so tutorials on that would not hurt either.

+15  A: 

Join the Apple Developer Connection. It's free, a great resource and has everything you need to get started.

Mark Harrison
+11  A: 

For Objective C, this online book is really good...
it was recommended when I took my Cocoa class.

Mark Harrison
+3  A: 

Unfortunately all of the docs will be coming from Apple while the SDK is under an Non-Disclosure Agreement. I'd love to write some articles and tutorials, but unfortunately if I distributed them, I would be in violation of the NDA.

+1  A: 

NilObject wrote:

I'd love to write some articles and tutorials, but unfortunately if I distributed them, I would be in violation of the NDA.

Orion Edwards wrote:

The first rule of iphone development, is you do not talk about iphone development

That's amazing. WTF are they thinking? I got an iPhone recently and have been looking forward to learning how to program it. I had no idea it was like this!

Zack Peterson
+9  A: 

A simple tutorial from

iPhone SDK Tutorial: Build a Simple RSS reader for the iPhone

+5  A: 

While you do have to agree to an NDA to get the iPhone SDK, you don't have to physically sign an agreement and send it in, or pay money just to download the SDK. You can sign up for a free Apple Developer Connection account, join the free iPhone developer program, and then download the iPhone SDK which includes a ton of documentation and sample code.

One other thing: You wouldn't go wrong by learning Objective-C and Cocoa on Mac OS X first. There is a lot of tutorial material out there including the Cocoa Dev Central tutorials, the free Become an Xcoder online book, Apple's free online developer documentation, and print books like "Cocoa Programming for Mac OS X" and "Xcode 3 Unleashed" (both of which recently came out and cover Mac OS X 10.5 Leopard).

Chris Hanson
+1  A: 

I can definitely recommend learning Objective-C and Cocoa first.

Cocoa Touch (Cocoa for iPhone) is similar to (desktop) Cocoa. It is also simpler. But the base classes are the same.

Basically you are just looking at two different GUI toolkits.

Andrew J. Brehm
+1  A: 

Slight rant: The iPhone SDK non-disclosure thing seems to basically be to stop people publishing books on the SDK while Apple are (probably) planning to change stuff soon. Apple will not start sending you cease-and-desists for writing a tutorial on your blog..

That aside, Become an Xcoder is a good guide to start with - it describes the basics of ObjC and Cocoa (it explains the slightly-strange [myObject myMethod:args] syntax, and Interface Builder actions/outlet things that confused me to no end).. I went from knowing very basic C, to understanding ObjC better than C..

My only problem with Become an Xcoder is that it ends very abruptly.. I was just getting the hang of the syntax, and Interface Builder, and then it ends! I really wish there was a second part, that goes though making a complete (even very simple) Cocoa application. Regardless, the knowledge you'll get from Become an Xcoder will apply to iPhone dev.

I've not found a tutorial that covers writing a complete, simple application (either for the iPhone, or Cocoa) - they all either give you huge blocks of code without explaining how on earth you're supposed to know what any of it does, or explain how to start Interface Builder and add a text field and change the text.

Edit: Responding to widespread criticism, Apple said Wednesday that it has decided to do away with its non-disclosure agreement (NDA) for released iPhone software while it drafts a new agreement covering just non-released software (link).

+2  A: 

If you are new to Objective-C, an excellent reference for C++ and Java programmers is this document with C++ and Objective-C (and some Java) examples of various common language features, so you can quickly get up to speed on common operations:

Kendall Helmstetter Gelner
+5  A: 

I've been going down this same path for a couple of weeks now. There are a couple of tutorials out there (e.g. iPhone SDK Tutorial: Build a Simple RSS reader for the iPhone and a couple of others at iCodeBlog) which will get you started. However, I found that neither really explains the rationale for the steps laid out. You'll get an app that works in the end, but without any appreciation for what is actually happening in the code. If someone is already a Cocoa developer, these tutorials would probably be a decent start.

Having no Obj-C (or indeed any OS X) development experience, the reference I've been using is Aaron Hillegaas' Cocoa Programming for Mac OS X. It is outstanding. I've been working with the 2nd Edition and there are some differences in XCode and IB that are updated in the 3rd, so I recommend that one. If you know nothing about Objective-C and Cocoa, this is the book to have. He throws you in the deep end with a functioning app, but then backs up, building and explaining things from the ground-up. It isn't an iPhone programming resource, but will make you much better equipped to understand and learn from the iPhone development tutorials out there.

Another benefit is that developing in XCode for Mac OS X offers a more polished experience than the iPhone tools (which are nice enough, but not as seamless). So if you're just getting started, learning Cocoa from the ground up will smooth the learning curve considerably.

One thing you didn't mention is what current experience you have with other languages. Getting up to speed on C wouldn't be a bad idea either.

+121  A: 

I collected some links I used to start with iPhone development:

And don't forget all the "Geting Started" articles on Apple's Developer Connection. Here is the "Getting Started with iPhone OS" tutorial.

splattne seems very promising!!
The "How to jump start iphone development" is a broken link
Roee Adler
You've gotta love PeepCode screencasts by Geoffrey Grosenbach, hes recently done a series on iPhone view controllers
The first link is down btw
@rpetrich: thanks! Fixed the link.
first link is down again
Edited the answer again.
"How to jump start iphone development" now goes to a domain squatter... :(
+1  A: 

Simple iPhone application tutorial

Apple's iPhone Dev Center does provide a tutorial which covers writing a complete, simple application. It uses small blocks of code that are given both inline explanation and supplemented with numerous references to other documentation that give a complete treatment of the subject. It even explains how to start Interface Builder and add a text field and change the text...

If you have access to the SDK, see "Your First iPhone Application".

+31  A: 

I am pretty impressed with

A new iPhone app is written every day, and is listed on the site with source code and screenshots.
Looks like a cool site but none of these code samples compile in iOS 4.
Kirk Broadhurst
+3  A: 

I found it impossible to get going on iPhone programming until I got a book. The Pragmatic Programmers have a good iPhone SDK book. I was able to get to a working app from this despite no prior experience of Mac OS programming, XCode, Cocoa or Objective-C, etc. I did have a good knowledge of C/C++ and Java, though.

+2  A: 

Disclaimer, I run the site.

iPhone Dev SDK:

iPhone Dev SDK - Popular Threads:

Chris Stewart
+1  A: 

From ActionScript To iPhone development

If you're an ActionScript (ECMA script and JavaScript will also do well) developer this blog is pretty good to get you started.

Andy Jacobs
+7  A: 

I know this is an older post, but I'd definitely go with the Stanford iPhone Application Programming course. It's like actually taking the course without handing in the assignments.

One time when I was watching one of the lectures I had a question about one of the points he made, then someone in the class actually asked the exact question I was thinking of.

One last thing, go and rip the site, I used the Scrapbook plugin for Firefox, because they will be taking down all of the material.

But I think you can download this from iTunes as well.
Apologies I thought that there can be more than one answer to a question.
Yea totally, only bonus on the website is they have extra material like source code for demos.
+1  A: 

Some of this may repeat previous answers, but it is a collection of links to sample code collections for the iphone. I previously posted this as another question, but I thought it could be helpful here.

Apple Sample Cope:

Apps Amuck 31 days:

Beginning iPhone Developing:

Chris Software:

Dave DeLong's downloads:

iPhone Developers Cookbook:

iPhone SDK source code:

Joe Hewitt three20:

Stanford iPhone code:

WiredBob (TabBar in Detail view):

+1  A: 

I am posting some tutorials about iPhone and Mac development on my blog every now and then:

Alexander Repty
+1  A: 

Try It's a directory of iphone programming tutorials and has about 700+ articles/tutorials on iphone coding

+3  A: 

You may find that a web app can provide all the functionality you need on the iPhone, making it all a lot quicker and simpler to develop. Take a look at iWD: Check out the videos under the Resources tab.

+17  A: 

For those looking to go a little beyond the basics in terms of iPhone development, the videos for the Advanced iPhone Development course I taught at the Madison Area Technical College are now available on iTunes U.

I cover the iPhone OS frameworks in detail, from Core Data to OpenGL ES, and my detailed course notes (which you can view here) provide supplementary information and links to the sample applications I used for the course.

Brad Larson
This is superb thanks for posting it!
+13  A: 

I hope below collection would help:

1) Blogs on iPhone development: (Programming Tutorial) (Programming Tutorial)

2) iPhone Source Codes:

3) Community:

4) News:

5) Jail breaking/Hacking:

6) Open source libraries & Applications:

Face Detection:

Bar Code:


Three 20:

Tapku Library:

7) Topic-wise:

App Store:

GIF Support:

In App Purchase:

IP Address:

Page Curl Animation:

TTF Font

Rotate Label:

Speech Recognition:

Operation & Thread:

Web service:

Code Analyzer:

8) Game Development with Cocos2D:

Open GL:

9) Drawing Chart & Graph (Will work on UIWebView only) (a blog where demo is given to create a graph)

10) Map Kit

11) Audio Streaming

12) Twitter

13) Scroll View


15) Video:

16) SCM:

Awesome answer, just getting into developing now so I will refer to these
Answer deserves a vote up...