Book description
The best-selling introduction to Cocoa, once again updated to cover the latest Mac programming technologies, and still enthusiastically recommended by experienced Mac OS X developers.
“Cocoa® Programming for Mac® OS X is considered by most to be the de-facto intro-to-OS X programming text.” —Bob Rudis, the Apple Blog “I would highly recommend this title to anyone interested in Mac development. Even if you own the previous edition, I think you’ll find the new and revised content well worth the price.” —Bob McCune, bobmccune.com
If you’re developing applications for Mac OS X, Cocoa® Programming for Mac® OS X, Fourth Edition, is the book you’ve been waiting to get your hands on. If you’re new to the Mac environment, it’s probably the book you’ve been told to read first.
Covering the bulk of what you need to know to develop full-featured applications for OS X, written in an engaging tutorial style, and thoroughly class-tested to assure clarity and accuracy, it is an invaluable resource for any Mac programmer. Specifically, Aaron Hillegass and Adam Preble introduce the two most commonly used Mac developer tools: Xcode and Instruments. They also cover the Objective-C language and the major design patterns of Cocoa. Aaron and Adam illustrate their explanations with exemplary code, written in the idioms of the Cocoa community, to show you how Mac programs should be written. After reading this book, you will know enough to understand and utilize Apple’s online documentation for your own unique needs. And you will know enough to write your own stylish code.
Updated for Mac OS X 10.6 and 10.7, this fourth edition includes coverage of Xcode 4, blocks, view-based table views, Apple’s new approach to memory management (Automatic Reference Counting), and the Mac App Store. This edition adds a new chapter on concurrency and expands coverage of Core Animation. The book now devotes a full chapter to the basics of iOS development.
Table of contents
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Preface
- Acknowledgments
- Chapter 1. Cocoa: What Is It?
- Chapter 2. Let’s Get Started
- Chapter 3. Objective-C
- Chapter 4. Memory Management
- Chapter 5. Target/Action
- Chapter 6. Helper Objects
- Chapter 7. Key-Value Coding and Key-Value Observing
- Chapter 8. NSArrayController
- Chapter 9. NSUndoManager
- Chapter 10. Archiving
- Chapter 11. Basic Core Data
- Chapter 12. NIB Files and NSWindowController
- Chapter 13. User Defaults
- Chapter 14. Using Notifications
- Chapter 15. Using Alert Panels
- Chapter 16. Localization
- Chapter 17. Custom Views
- Chapter 18. Images and Mouse Events
- Chapter 19. Keyboard Events
- Chapter 20. Drawing Text with Attributes
- Chapter 21. Pasteboards and Nil-Targeted Actions
- Chapter 22. Categories
- Chapter 23. Drag-and-Drop
- Chapter 24. NSTimer
- Chapter 25. Sheets
- Chapter 26. Creating NSFormatters
- Chapter 27. Printing
- Chapter 28. Web Services
- Chapter 29. Blocks
- Chapter 30. Developing for iOS
- Chapter 31. View Swapping
- Chapter 32. Core Data Relationships
- Chapter 33. Core Animation
- Chapter 34. Concurrency
- Chapter 35. Cocoa and OpenGL
- Chapter 36. NSTask
- Chapter 37. Distributing Your App
- Chapter 38. The End
- Index
Product information
- Title: Cocoa® Programming for Mac® OS X, Fourth Edition
- Author(s):
- Release date: November 2011
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780132902199
You might also like
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …
book
Low-Level Programming: C, Assembly, and Program Execution on Intel® 64 Architecture
Learn Intel 64 assembly language and architecture, become proficient in C, and understand how the programs …
book
Fluent C
Expert advice on C programming is hard to find. While much help is available for object-oriented …
book
Mastering macOS Programming
Take your macOS Sierra to the next level using the latest tools, designs, and best coding …