Programming in Objective-C 2.0 (2nd Edition)

Author: Stephen G. Kochan
All Stack Overflow 24


by anonymous   2017-08-20

I fully recommend viewing this site, as I have heard many good things of it:

If you're more the pick it up and read kind of person, might I suggest the following book:

Third edition will be out next month, so you may want to wait on it.

by anonymous   2017-08-20

Assuming that you're calling myMethod on the same class as what implements viewDidLoad:

- (void)viewDidLoad {
    //...other code
    [self myMethod];
    //...other code

If you are having trouble with basic Objective-C though, I'd strongly suggest to either get a decent book on Objective-C, such as:

…or at least read a good beginners tutorial, such as:

There are quite a few more helpful beginners tutorials by Scott Stevenson here:

by anonymous   2017-08-20

I agree, Cocoa Programming for Mac OS X by Aaron Hillegass is a great book to learn Cocoa, and it covers Obejctive-c nicely, but if you really want to KNOW the language, I would recommend: Programming in Objective-C 2.0:

Both are fantastic books and nicely complement eachother.

Its very important to remember that other people are having a hard time learning Cocoa too. Reading Aaron's book is a fantastic way to start. Reading source code is also another great way. THere is some open source iPhone projects (for example: wordpress), and there a bunch for OS X. Read what other people are doing so you can get the flow of an application. I found that to be the hardest part about learning (especially the Cocoa part).