Objective-C Tutorials
To be honest, I feel that cocos2d-iphone doesn't really require that much knowledge of Objective-C, at least in my experience so far. I know the basics of the language, but really have yet to delve deeply. However, I realize that I've been posting cocos2d tutorials without actually doing an intro to Objective-C. From a practical standpoint, the big differences between Objective-C and C++ are syntax (obviously) and memory management.
With cocos2d, memory management has not been an issue for me, since all cocos2d objects are "autoreleased," that is, you don't have to deallocate their memory when you're finished using them. Basically you can "fire and forget." The Objective-C syntax is slightly wonky, but once you look through some example code and work through some tutorials, you'll get the hang of it.
I'm not going to go super in-depth and make an Obj-C tutorial right now, but I figured I'd share some links that have helped me out a lot.
- Learn Objective-C (Many other great tutorials on this site)
- Objective-C Primer on Apple's iOS Dev Center
- CocoaDev (focused on Apple user interface APIs, but also has good info about Obj-C)
If you've found some resources that have been helpful for you, let me know in the comments!
Comments