Learning iPhone programming coming from C# background
I would like to put my foot in world of iPhone programming. I got fair bit o开发者_开发技巧f experience with C# coding.
Should I go and start learning objective-C even before touching cocoa [or] there is better approach (i know nothing about iphone programming).
Are there any recommended books / blogs I should go through for my learning curve.
** If this is a duplicate question can someone point me the orginal question please **
Thanks
Check out the iPhone Application Development video lectures on iTunes -- it's a great way to get started.
Beginning Objective-C for the C# guy by Scott Reynolds got me started on my path to developing my first IPhone app last month.
If you're a skilled C# dev, you'll find little friction in moving to Obj-C (aside from learning new APIs but that's to be expected in transitioning to any new environment.)
The main hurdle will be memory management, since there's no GC to handle that for you.
The Apple dev forums are great for learning how to develop for the iPhone. But additionally you really need to become familiar with the Cocoa framework. The widely accepted authority is this book by Aaron Hillegass called Cocoa Programming for Mac OS X.
I recommend being familiar with straight C first. Objective-C is a strict superset of C, and you'll be working with things like pointers. You'll also understand where the C layer ends and the Objective-C layer begins, such as knowing why an NSInteger can't be inserted into an NSArray.
精彩评论