Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm a newcomer to Objective-C and Cocoa but a reasonably experienced Java programmer. When I was starting out, reading Josh Bloch's Effective Java made me a 20% better Java programmer overnight. As its foreword says, most language books teach you syntax and vocabulary, but not much about idiomatic usage.

I hate knowing I'm writing "The vase of my uncle is on the credenza of my aunt" kind of stuff in a new language. What's the equivalent of Effective Java for Objective-C and Cocoa?

share|improve this question

closed as not constructive by gnat, Yannis Rizos Feb 27 '13 at 8:28

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
+1 for the vase :-) –  Péter Török Dec 20 '11 at 9:02

3 Answers 3

The book Cocoa Design Patterns by Buck and Yacktman covers the common idiom and patterns seen in objective-c code. It's not quite equivalent to Bloch but probably is the closest you'll get.

share|improve this answer
1  
Sorry but no. It is not the closest thing to "Effective Java". Cocoa Design Patterns discusses the design patterns used in Cocoa like MVC, template method, enumerators ... –  Chiron Dec 20 '11 at 11:54
    
@Chiron: so what's closer? –  user4051 Dec 20 '11 at 11:58
    
@Grapham Lee I searched a lot for a book like Effective Java in the past, I failed to find any thing similar or for Objective-C. –  Chiron Dec 20 '11 at 12:05
    
@Chiron so it could indeed be that Cocoa Design Patterns is the closest thing. –  user4051 Dec 20 '11 at 12:38
    
@Graphame Lee If you say so. –  Chiron Dec 20 '11 at 12:40

Coming soon...

Effective Objective-C 2.0: 50 Specific Ways to Improve Your iOS and OS X Programs

http://my.safaribooksonline.com/9780133386950

share|improve this answer
    
never gonna let you down(voted) , matt galloway is an awesome objective C author –  henghonglee Apr 30 '13 at 8:25

I'm not aware of any book that fits your requirement.
However, you can spend a really good time on Stackoverflow searching for questions like What are best practices that you use when writing Objective-C and Cocoa?

NSBlog is an amazing blog that deserves reading line by line.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.