问题
I'm learning Cocoa, and while I get comfortable with Objective-C and the concepts around it, I sometimes struggle applying the theory (like Model/View/Controller) to practice. Apple's documentation often gives me 'A Ha!' moments, but it would be cool to have a well-written Cocoa App as a reference.
So, do you know of a very well written Cocoa App with public source code?
回答1:
I would take a look at the adium sourcecode. I learnt Cocoa about five years ago, and at the time I used to hang out a lot in their IRC channel talking Cocoa to them. They are a very friendly bunch and one of them is very active on here too.
Anyway, Adium (when I knew it anyway) is a very well put together bit of OpenSource Cocoa: you'll be sure to learn a lot looking at the way things are done there. Peter is a hell of a nit-picker as well so you'll be sure to see lots of well thought out, well designed code to give you ideas too.
HTH
回答2:
Thanks jkp, didn't know Peter Hosey worked on Adium! To add to his point, Peter Hosey's website has a list of re-useable open-source Mac software (both apps and libraries).
来源:https://stackoverflow.com/questions/1193142/well-written-open-source-cocoa-apps-to-learn-from