Read more
Informationen zum Autor David Chisnall has in-depth knowledge of Cocoa as both an implementer and a developer. He is an active contributor to the GNUstep project, which provides an open source implementation of the Cocoa APIs, and cofounded the Étoilé project to build a desktop environment atop GNUstep. He has created a new Objective-C runtime library, worked on Objective-C support in the clang compiler, and published papers on Objective-C. He wrote a popular series of articles on Objective-C and Cocoa for informIT.com and is the author of The Definitive Guide to the Xen Hypervisor (Addison-Wesley, 2008). Klappentext The Most Complete, Authoritative Guide to Cocoa Programming for Mac OS X Cocoa® Programming Developer's Handbook is a comprehensive, practical reference that brings together all the knowledge, techniques, and code that experienced Mac OS X programmers need to build rich, powerful Cocoa applications. It fully reflects the latest Cocoa innovations, including the latest architectural changes and tools introduced with Mac OS X 10.6 (Snow Leopard). David Chisnall addresses virtually every aspect of Cocoa application development, from advanced multimedia programming to networking. Chisnall offers deep wisdom about issues ranging from user interface design to system programming-insights available nowhere else. Each of his examples demonstrates a single aspect of the Cocoa API and illuminates modern best practices. Coverage includes Combining Cocoa Foundation and Application Kit to layer rich, modern application features atop efficient low-level functions Mastering the Cocoa application model, including events and drawingDeveloping document-driven applications with CocoaUtilizing the new Core Data framework to automate persistence in documentsBuilding more sophisticated user interfaces with advanced View Objects Using Core Animation to create intricate animated objects with very little codeTaking advantage of OS X's speech recognition and synthesis APIsUsing System-wide Address Book, Metadata Indexing, and Previewing to integrate applications smoothly into the OS X environment Mastering networking and other low-level system programming featuresUtilizing Cocoa's new concurrency mechanisms, including Snow Leopard's Grand Central This book is the perfect follow-up to Aaron Hillegass' renowned tutorial, Cocoa Programming for Mac OS X, Third Edition (Addison-Wesley, 2008), and is the ideal single-source reference for experienced developers working with Cocoa on the Mac OS X or iPhone platforms. A companion web site contains extensive downloadable source code designed for easy reuse, plus additional material on effective Cocoa programming. Zusammenfassung This updated edition offers expert guidance and up-to-the-minute best practices for building object-oriented applications with the Cocoa framework for Mac OS X and the iPhone. Inhaltsverzeichnis Part I: Introducing Cocoa Chapter 1: Cocoa and Mac OS X 1.1 Understanding When to Use Cocoa1.2 Understanding Cocoa's Role in Mac OS X 1.3 Overview Chapter 2: Cocoa Language Options 2.1 Object Orientation 2.2 Objective-C 2.3 Ruby and Python 2.4 Summary Chapter 3: Using Apple's Developer Tools 3.1 Obtaining Apple's Developer Tools 3.2 Interface Builder 3.3 XCode 3.4 Objective-C 3.5 Cocoa Conventions3.6 Summary Part II: The Cocoa Frameworks Chapter 4: Foundation: The Objective-C Standard Library 4.1 General Concepts 4.2 Core Foundation Types 4.3 Basic Data Types 4.4 Collections 4.5 Enumeration 4.6 Property Lists 4.7 Interacting with the Filesystem 4.8 Notifications 4.9 Summary Chapter 5: Application Concepts 5.1 Run Loops 5.2 Applications and Delegates 5.3 The Responder Chain 5.4 Run Loops in Applications 5.5 Delegates and Notifications 5.6 The View Hierarchy 5.7 Summary Chapter 6: Creating Graphical User Interfaces 6.1 Positioning Views6.2 Nested Views 6.3 Creating Views 6.4 Cocoa Bindings 6.5 Summary Chapter 7: Windows a...