Starting iPhone Development [duplicate]

半腔热情 提交于 2019-11-28 11:43:41

Get "Cocoa Programming for Mac OS X by Aaron Hillegass" and go through the first half of the book. Get "Beginning iPhone Programming" after that and pay the $99 so you can run apps on your phone. There are a lot of design patterns in Objective C that are strange to begin with, but as you work more with them, they make sense.

One of the best things I found in the Hillegass book is his advice in the introduction: "assure yourself that you are not stupid and some things are hard".

John Muchow

I had great success getting started by diving into the Apple developer guides. I read the following:

  • Apple Objective-C guide, a good place to learn the basics
  • Apple Cocoa Fundamentals Guide
  • Apple iPhone Application Programming Guide

Spend time looking over the various examples, read the code, make changes, etc. Apple also has many good examples (outside the books) that you can learn a great deal from.

I agree, Cocoa Programming for Mac OS X by Aaron Hillegass is a great book to learn Cocoa, and it covers Obejctive-c nicely, but if you really want to KNOW the language, I would recommend: Programming in Objective-C 2.0: http://www.amazon.com/Programming-Objective-C-2-0-Developers-Library/dp/0321566157

Both are fantastic books and nicely complement eachother.

Its very important to remember that other people are having a hard time learning Cocoa too. Reading Aaron's book is a fantastic way to start. Reading source code is also another great way. THere is some open source iPhone projects (for example: wordpress), and there a bunch for OS X. Read what other people are doing so you can get the flow of an application. I found that to be the hardest part about learning (especially the Cocoa part).

http://www.lynda.com/ is perfect for starting iOS, OSx development. The site takes you past the beginner status quickly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!