Learning Cocoa

Posted at 10:22 AM on May. 31, 2008

I bought the newly released 3rd edition of "Cocoa Programming for Mac OS X"; it arrived on my doorstep two weeks ago. Since then I've been working through it, for a few hours each evening. Right now I'm on chapter 6.

I've tried learning mac programming before, and it just never stuck. But I think this time it will. I'm understanding the concepts better. For example, I'm pretty comfortable now with the formerly alien syntax of calling object methods:

[object method_name];
[object method_name:arg1value];
[object method_name:arg1value arg2:value arg3:value];

I'm keeping notes in a separate text file, so I can refer back to them and remember how to do something without having to re-read the book. This has been a common problem for me: I can learn things readily enough, but forget them later. I'm hoping the notes will help solve that problem. (That and practice!) :)

I have been struggling with the built-in docco in Xcode; while I like the convenience of option-clicking on a class name to get its helpfile, the help UI leaves much to be desired. Example: when you load the help for a class, you also have to scroll back up above the class name and click "show TOC" to view links to the specific instance/class/delegate methods. (Note: this seems to have been a bug in the Xcode docco; upgrading Xcode has fixed the problem.)

So I was happy to discover AppKiDo, which offers a more user-friendly interface to the developer docco.

Since I'm learning on my own, it helps to have a place to post questions when I get stuck. Here are a few of the forums I've found:

Home Permalink No comments