Before I forget, there's one important part of Mac OS X programming that I wanted to mention. Coming from a Windows world, I'm used to finding information using one of two mechanisms: MSDN and Google Groups.
If you have a question about a Windows API function you can find an answer in one of those two places pretty much guaranteed.
Part of the reason Google Groups works so well for Windows developers is that the API has been pretty much constant for what, 15 years? Generally an answer to a question asked about GDI any time since the dawn of Windows is probably still useful.
The Macintosh went through a major overhaul of it's API for Carbon (and Cocoa is a completely new thing, which I haven't worked with yet). I found that Google Groups rarely had answers for me when I had questions, and Apple's developer website has very little useful documentation on how to use something or why you'd want to use it.
For example, if you're looking for information on the function to create a window on either platform, Google Groups (currently) has 196 articles for you to look at for the Macintosh CreateNewWindow function, while searching for "win32 createwindow" finds me 5920 articles.
There's a series of books called "Inside Macintosh" that Mac developers all know by heart, but my local bookstore said the old ones were out of print and there weren't any Carbon ones available yet - so I was stuck there.
Then I found an invaluable resource: The Macintosh system header files. Every function, every message, etc., had a large description in the comments right in the header file.
Moral of the story: If you're looking for information on a particular message, you're likely to find the name of the message on Apple's site, and people asking questions about it on Usenet, but you'll probably find what it actually by searching the include files on your own hard drive.
9:41:17 AM
|