开发者

Good example code for Objective-C [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

I'm trying to learn objective-c and am having a hard time coming from (java / C#). Does anyone have sample code that explains how the inner workings of objective-c work? I found a couple tutorials (below) but I'd like to start working through some examples t开发者_如何学JAVAhat are a little more complex than "hello world".

http://cocoadevcentral.com/d/learn_objectivec/

http://www.otierney.net/objective-c.html

http://mobileappmastery.com/objective-c-tutorial/


Ray Wenderlich has some very good tutorials. His Simple iPhone App Tutotial is in 3 parts. If you follow it step by step, it will give you a great overview on how an iOS app works. Once you complete it, you can follow is more complex tutorials. Good luck.


I'd recommend a decent book, too: it's a complex language, and unless you get an end-to-end grounding in its peculiarities (and there are a number of them), you're almost certain to confuse yourself at some point. (There are definitely more opportunities to confuse yourself with Objective-C than C++, in my opinion...)

A book I like a lot is "Learning Objective-C 2.0", by Robert Clair, published by Addison-Wesley...


If you're looking for example working code, I've been using two main source -

  • Cocoa Controls - for specific UI elements
  • Binpress - for complete applications and SDKs

For me, the most effective way to learn is by going over actual working code from real applications, instead of mock code used in tutorials and very basic examples. Maybe it's because I already have background in other languages and don't need to cover the basics.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜