Understanding the operating system helps the reader use the programming tools and the Carbon application programming interface (API) - both of which are covered extensively in this book. Mac OS X is a blend of old and new. Much of the original programming API (now referred to as the Classic API) is still usable. Mac OS X — The Basics. Mac OS X is the operating system of your Mac. It’s the basic system that enables your Mac to work. All the files, folders and programs are handled by Mac OS X as well as internet connectivity, battery consumption and more. As a Mac user, you will encounter Mac OS X in many different forms: When viewing the desktop.
Sometimes, if your Mac doesn’t recognize a file type as something that one of its programs can handle, or if you want a specific file type to always open in a specific program, Mac OS X Lion might need a little help from you. Mac OS X Lion lets you specify the application in which you want to open a document in the future when you double.
This book aims to provide beginners with an introduction to programming Mac OS X Apps with Cocoa, using XCode, the free developer tools provided by Apple, Inc. Some knowledge of another programming language, preferably Objective C Programming is assumed.
This wikibook was written for users of Mac OS X 10.3 or 10.4, it should also work for newer versions of Mac OS X such as 10.5 and 10.6. For programming Mac OS X with Cocoa for Beginners using Mac OS X versions 10.7 'Lion', or 10.8 'Mountain Lion' or later, use the following wikibook instead: Programming Mac OS X with Cocoa for Beginners 2nd Edition It is suggested that you upgrade to 10.8, 'Mountain Lion' because it is better supported by Apple.
In general, this text is written to be followed in order from start to finish. As each topic develops, it builds on the code written previously to add complexity and functionality.
Contents
Getting Started
- What is Cocoa?
- Installing the developer tools
Cocoa Programming For Mac Os X
Lessons
Wiki oriented lessons
Programming Languages For Mac Os X
- Implementing Wikidraw