Porting AS3 to iPhone App
Anybody know any good tut's for iPhone development? I have written a game in AS3 开发者_JAVA百科and have excellent knowledge of PHP/OOP etc but I cannot get my head around the iPhone SDK or the objective C syntax and structure.
A great start is the stanford course (CS193P) which is available for download from iTunes University. That will get you general iOS programming knowledge.
After that, depending on the style of your game, it's worth looking at Cocos2d (an open-source 2D graphics library).
Here's a good tut for the Obj-C basics: http://cocoadevcentral.com/d/learn_objectivec/
I'm in similar situation and these are the steps I'm following and the books I bought:
- Learn Objective C: "Programming in Objective C" by Stephen Kochan
- Learn Cocoa & AppKit: "Cocoa Programming for MacOS X"
- Learn Cocoa Touch (specific framework for iPHone): "iPhone for Programmers"
Good luck and have fun.
I recommend Beginning iPhone 4 Development by Mark LaMarche. There's also a "sequel" to this book. The Apple doc on Objective-C is also pretty good when it comes to understanding just the Objective-C language:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/doc/uid/TP30001163-CH1-SW2
A popular resource is Standford University's lectuture slides for the iPhone Application Development unit available in pdf @ http://www.stanford.edu/class/cs193p/cgi-bin/drupal/
精彩评论