Sometimes there is no better way to learn how to write code than to see working code written by someone else. Apple provides software development kits (SDKs) free of charge for most of Apple’s key technologies. You’ll find header files, libraries, sample code, and other useful tools and resources in each SDK. You can access a link to Apple’s SDKs from this web site:
You’ll also find links to Carbon Development Tips & Tricks, a page dedicated to sharing Carbon development, debugging, and porting information.