Lieferbar innert 2 Wochen
BeschreibungLearning Carbon is designed to get you programming right away in Carbon™, one of two APIs (Application Programmer Interfaces) Macintosh® programmers can use to write applications that run native in Mac® OS X. Using Carbon, you don't have to rewrite your Mac OS programs entirely to get them to take advantage of the new features in Mac OS X. Instead, all you have to rewrite is the 10 to 20 percent of the code that can't be translated to OS X. For C programmers, Apple's Carbon is the essential building block for applications on Mac OS X. With Carbon, you can use simple, traditional C interfaces to create world-class applications for a world-class operating system.After orienting you with a detailed tour of a Carbon application, Learning Carbon walks you through the entire process of designing and creating a complete Carbon application called Moon Travel Planner. Along the way, you'll be introduced to two pivotal development tools: Project Builder and Interface Builder. You'll learn key concepts about Carbon and Mac OS X programming, including event management, resource handling, and bundle anatomy. And you'll get direct, hands-on instruction on how to implement essential application tasks, such as managing windows, printing documents, opening and saving files, creating and responding to menu commands, providing user help, and organizing your application for easy localization in multiple countries and languages. After finishing this book, you'll be ready to start writing your own Carbon applications.Written by Apple insiders with access to engineers deeply involved in creating Mac OS X, Learning Carbon brings you information that's not available anywhere else, to get you in on the ground floor of the exciting new Mac OS X application development market.
InhaltsverzeichnisPreface. Chapter 1. Introduction to Carbon Carbon and Mac OS X What's in Carbon Building Carbon Applications The Carbon Factory Tour. Chapter 2. Specifying a Carbon Application: Moon Travel Planner The Moon Travel Planner Window The Menu Bar The About Window The Facts for the Traveler Window The Itinerary Window. Chapter 3. Project Builder Projects A Carbon Application Project Moon Travel Planner: Creating a Project. Chapter 4. Interface Builder: Nibs and Windows A Carbon Nib File Moon Travel Planner: Modifying the Default Window. Chapter 5. Interface Builder: Tools and Controls Palettes and Layout Tools Moon Travel Planner: Adding Objects to the Main Window. Chapter 6. Carbon Events Carbon Event Handling MoonTravel Planner: Writing an Event Handler. Chapter 7. Interface Builder: Menus The Menu Bar Moon Travel Planner: Modifying the Menu Bar. Chapter 8. Text and Localization Language-Specific Folders Moon Travel Planner: Displaying Localized Text. Chapter 9. Printing The Carbon Printing Manager Moon Travel Planner: Adding Printing to the Moon Facts Window. Chapter 10. Property Lists The Information Property List: Info.plist Moon Travel Planner: Modifying and Using Properties. Chapter 11. Files Managing Files on the Mac Moon Travel Planner: Handling Files. Chapter 12. Providing Help Help on Mac OS X Moon Travel Planner: Adding Help. Chapter 13. Desktop Icons Icon Basics Moon Travel Planner: Adding Icons. Chapter 14. Beyond Moon Travel: Advanced Topics Scriptable Applications Threads and Multiprocessing Tab Controls Epilogue. Appendix A. Additional Resources Appendix B. Carbon Event Classes and Kinds Appendix C. Parameter Names and Types for Common Event Kinds. Index
PortraitThis book was contributed to by the technical writers, engineers,
support specialists, and other professionals at Apple Computer,
Inc., who are committed to making Mac OS X a superior platform for
innovation, productivity, and enjoyment. These professionals have
diligently collected, compiled, and edited the information in this
books to ensure that it is a useful resource for Mac OS X developers.
Untertitel: Sprache: Englisch.
Verlag: O'REILLY & ASSOC INC
Erscheinungsdatum: Mai 2001
Seitenanzahl: 352 Seiten