Book description
A solid introduction to programming on the Mac OS X Snow Leopard platform
The Mac OS X Snow Leopard system comes with everything you need in its complete set of development tools and resources. However, finding where to begin can be challenging. This book serves as an ideal starting point for programming on the Mac OS X Snow Leopard platform. Step-by-step instructions walk you through the details of each featured example so that you can type them out, run them, and even figure out how to debug them when they don't work right. Taking into account that there is usually more than one way to do something when programming, the authors encourage you to experiment with a variety of solutions. This approach enables you to efficiently start writing programs in Mac OS X Snow Leopard using myriad languages and put those languages together in order to create seamless applications.
Coverage Includes:
The Mac OS X Environment
Developer Tools
Xcode
Interface Builder
The C Language
The Objective-C Language
An Introduction to Cocoa
Document-Based Cocoa Applications
Core Data-Based Cocoa Applications
An Overview of Scripting Languages
The Bash Shell
AppleScript and AppleScriptObjC
Javascript, Dashboard, and Dashcode
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Table of contents
- Copyright
- CREDITS
- ABOUT THE AUTHORS
- ACKNOWLEDGMENTS
- INTRODUCTION
-
I. Mac OS X Developer Resources
- 1. The Mac OS X Environment
- 2. Developer Tools
- 3. Xcode
- 4. Interface Builder
-
II. Application Programming
- 5. The Application
-
6. The C Language
- 6.1. A LITTLE HISTORY
- 6.2. GETTING STARTED
- 6.3. VARIABLES AND DATA TYPES
- 6.4. OPERATORS
- 6.5. ARRAYS AND POINTERS
- 6.6. CONDITIONAL BRANCHING
- 6.7. LOOPS
- 6.8. FUNCTIONS AND BLOCKS
- 6.9. CHARACTERS AND STRINGS
- 6.10. INPUT/OUTPUT
- 6.11. DATA STRUCTURES
- 6.12. MEMORY MANAGEMENT
- 6.13. THE PREPROCESSOR
- 6.14. ORGANIZING PROGRAMS
- 6.15. SUMMARY
- 7. The Objective-C Language
- 8. Introduction to Cocoa
- 9. Document-Based Cocoa Applications
- 10. Core Data-Based Cocoa Applications
-
III. Script Programming
- 11. Overview of Scripting Languages
-
12. The Bash Shell
- 12.1. GETTING STARTED
-
12.2. UNIX BASICS
- 12.2.1. Paths
- 12.2.2. Locating and Learning Commands
- 12.2.3. Running Commands and Other Executables
- 12.2.4. Redirecting Input and Output
- 12.2.5. Navigating the File System
- 12.2.6. Working with Files and Directories
- 12.2.7. File Permissions
- 12.2.8. Globbing
- 12.2.9. Searching for Files
- 12.2.10. Working with Text
- 12.2.11. Process Control
- 12.2.12. Mac OS X Exclusive Commands
- 12.2.13. Overview of Other Commands
- 12.3. SHELL PROGRAMMING
- 12.4. SUMMARY
-
13. AppleScript and AppleScriptObjC
- 13.1. APPLESCRIPT
- 13.2. APPLESCRIPT APPLICATIONS
- 13.3. SUMMARY
- 14. JavaScript, Dashboard, and Dashcode
- A. Answers to Exercises
- B. Developer Resources
Product information
- Title: Beginning, Mac OS® X Snow Leopard™ Programming
- Author(s):
- Release date: January 2010
- Publisher(s): Wrox
- ISBN: 9780470577523
You might also like
book
Mac OS X 10.4 Tiger: Visual QuickStart Guide
So you're finally ready to find out what all the fuss is about. Whether you're switching …
book
Palm OS Programming, 2nd Edition
With more than 16 million PDAs shipped to date, Palm has defined the market for handhelds, …
book
Beginning Mac OS® X Programming
Beginning Mac OS X Programming Every Mac OS X system comes with all the essentials required …
book
Cocoa Recipes for Mac OS X: The Vermont Recipes, Second Edition
Completely revised edition, now covering Snow Leopard! Springing from the original Vermont Recipes Web site, where …