Cocoa Programming
Scott Anguish, Sams ISBN:0672322307, Edition: , 2002-09-20 Price: $59.99
- Main Page
- Table of content
- Copyright
- About the Authors
- Acknowledgments
- We Want to Hear From You!
- Reader Services
- Introduction
- Intended Audience
- Conventions
- Learn By Example
- Part I: Overview
- Chapter 1. Cocoa and Mac OS X
- Understanding When to Use Cocoa
- Understanding Cocoa's Role in Mac OS X
- What You Need to Use Cocoa
- What's Included in Cocoa
- Summary
- Chapter 2. Cocoa Language Options
- Object Orientation
- Java
- Objective-C
- Other Languages
- Choosing a Language for Use with Cocoa
- The Use of Objective-C in This Book
- Summary
- Chapter 3. Using Apple's Developer Tools
- Obtaining Apple's Developer Tools
- Project Builder
- Interface Builder
- Frameworks
- Samples
- Terminal
- Other Tools
- Summary
- Chapter 4. Objective-C
- Why Learn Objective-C?
- Additions to C
- Apple's Extensions
- The 'NSObject' Base Class
- Runtime Functions
- Objective-C++
- Summary
- Chapter 5. Cocoa Conventions
- Naming
- Initializers
- Managing Memory
- Accessors
- Using Memory Zones
- Encoding and Decoding
- Summary
- Chapter 6. Cocoa Design Patterns
- Understanding Design Patterns
- A Catalog of Cocoa Design Patterns
- Summary
- Part II: The Cocoa Frameworks
- Chapter 7. Foundation Framework Overview
- Mutability
- Class Clusters
- Typed Storage
- Collections
- Property Lists
- Run Loops and Timers
- Support Types
- String Processing
- Bundles
- File System Access
- Defaults System
- Notifications
- Related Core Foundation
- Summary
- Chapter 8. The Application Kit Framework Overview
- Events and the Run Loop
- Responders
- 'NSApplication' Overview
- 'NSWindow' Overview
- 'NSView' Overview
- Delegates
- Target-Action Paradigm
- Archived Objects and Nibs
- 'NSWindowController' Overview
- Multidocument Applications
- Undo and Redo
- Menu Validation
- Spell Checking
- Summary
- Chapter 9. Applications, Windows, and Screens
- The New Image Viewer
- Working with 'NSWindow'
- Working with 'NSApplication'
- Modal Loops
- Working with Sheets
- Working with Drawers
- Working with Screens
- Working with Panels
- Summary
- Chapter 10. Views and Controls
- Controls
- Simple Views and Controls
- Container Views and Controls
- Compound Controls
- Summary
- Chapter 11. The Cocoa Text System
- Using the High-Level Text Classes
- The Text System Architecture
- Managing Fonts
- Text Input
- Summary
- Chapter 12. Custom Views and Graphics Part I
- The Quartz Graphics Model
- Quartz Graphics Via the Application Kit
- Using the 'NSBezierPath' Class
- Modifying Drawing
- Summary
- Chapter 13. Custom Views and Graphics Part II
- Using 'NSGraphicsContext'
- Coordinate System Transformations
- Drawing Points and Rectangles
- Optimizing Drawing
- Summary
- Chapter 14. Custom Views and Graphics Part III
- Images and Bitmaps
- Drawing Text
- Summary
- Chapter 15. Events and Cursors
- Event Handling in Custom 'NSView' Subclasses
- Managing Cursors
- Summary
- Chapter 16. Menus
- Standard Menu Layouts
- 'NSMenu' Class
- 'NSMenuItem' Class
- Menu Validation
- Contextual Menus
- Dock Menus
- Deprecated Functionality
- Summary
- Chapter 17. Color
- 'NSColor' Class
- Color Wells
- Color Panels
- Customizing the Color Panel
- 'NSColorList' Class
- Summary
- Chapter 18. Advanced Views and Controls
- 'NSTableView', 'NSOutlineView', and 'NSBrowser' Concepts
- Table Views
- Outline Views
- Browsers
- Combo Boxes
- Custom Controls
- Toolbars
- Status Bars
- 'NSQuickDrawView' Class
- Summary
- Chapter 19. Using Pasteboards
- Pasteboard Concepts
- Implementing Cut, Copy, and Paste
- Implementing Drag and Drop
- Implementing Services
- Summary
- Chapter 20. Adding Online Help
- Apple Help
- ToolTips
- Context-Sensitive Help ('NSHelpManager')
- Summary
- Chapter 21. Multimedia
- Sound
- QuickTime
- 3D Graphics
- Summary
- Chapter 22. Integrating with the Operating System
- Getting System Information
- Authentication and Security
- Communicating with the Workspace
- Summary
- Chapter 23. Networking
- 'NSURL' and 'NSURLHandle'
- Email Messages
- Directory Services
- Interapplication Programming
- Summary
- Chapter 24. Subprocesses and Threads
- Choosing Between Subprocesses and Threads
- Using the 'NSTask' Class
- Using the 'NSThread' Class
- Locking
- Threading Issues
- Summary
- Chapter 25. Printing
- Basic Printing
- Overview of the Printing Classes
- 'NSView''s Printing Support
- Printing and Pagination Example
- Printing in 'NSDocument'-Based Applications
- Summary
- Part III: Cocoa Techniques
- Chapter 26. Application Requirements, Design, and Documentation
- Designing an Application with Requirements
- Designing TransparentTetris
- Implementing the Design
- Using AutoDoc
- Summary
- Chapter 27. Creating Custom Frameworks
- Creating and Using a Framework
- Header Files
- Providing Backward Compatibility
- Debugging Frameworks
- Summary
- Chapter 28. Distributing Applications
- Package Directories
- Using Disk Images
- Application Installation
- Summary
- Part IV: Appendixes
- Appendix A. Unleashing the Objective-C Runtime
- Objective-C Objects
- Messaging with 'IMP's and Selectors
- Common Runtime Functions
- Forwarding, Distributed Objects, and Proxies
- Examples
- Summary
- Appendix B. Optimizing and Finding Memory Leaks
- Optimizing Applications
- Finding Memory Leaks
- Summary
- Appendix C. Finding Third-Party Resources
- Apple-Provided Documentation
- Example Code
- Web Sites
- Mailing Lists
- Summary
- Appendix D. Cocoa Additions in Mac OS X Version 10.2
- Quartz Extreme
- Handwriting Recognition
- Address Book and vCard
- Universal Access
- Updated Tools
- Framework Enhancements
- Summary
- Index
- Index SYMBOL
- Index A
- Index B
- Index C
- Index D
- Index E
- Index F
- Index G
- Index H
- Index I
- Index J
- Index K
- Index L
- Index M
- Index N
- Index O
- Index P
- Index Q
- Index R
- Index S
- Index T
- Index U
- Index V
- Index W
|
|