Cocoa and Objective-C: Up and Running

Specificaties
Paperback, 396 blz. | Engels
O'Reilly | 1e druk, 2010
ISBN13: 9780596804794
Rubricering
Hoofdrubriek : Computer en informatica
O'Reilly 1e druk, 2010 9780596804794
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

Build solid applications for Mac OS X, iPhone, and iPod Touch, regardless of whether you have basic programming skills or years of programming experience. With this book, you'll learn how to use Apple's Cocoa framework and the Objective-C language through step-by-step tutorials, hands-on exercises, clear examples, and sound advice from a Cocoa expert.

'Cocoa and Objective-C: Up and Running' offers just enough theory to ground you, then shows you how to use Apple's rapid development tools - Xcode and Interface Builder - to develop Cocoa applications, manage user interaction, create great UIs, and more. You'll quickly gain the experience you need to develop sophisticated Apple software, whether you're somewhat new to programming or just new to this platform.

- Get a quick hands-on tour of basic programming skills with the C language
- Learn how to use Interface Builder to quickly design and prototype your application's user interface
- Start using Objective-C by creating objects and learning memory management
- Learn about the Model-View-Controller (MVC) method of sharing data between objects
- Understand the Foundation value classes, Cocoa's robust API for storing common data types
- Become familiar with Apple's graphics frameworks, and learn how to make custom views with AppKit

Specificaties

ISBN13:9780596804794
Taal:Engels
Bindwijze:paperback
Aantal pagina's:396
Uitgever:O'Reilly
Druk:1

Over Scott Stevenson

Scott Stevenson has been programming with Cocoa for seven years, and runs Cocoa Dev Central, one of the top destinations for programmers who want to learn Cocoa.

Andere boeken door Scott Stevenson

Inhoudsopgave

Preface

1. Setup and First Run
-Download and Install Xcode
-Your First Application

2. Thinking in Code: Basic C
-How Code Works
-How to Format Code
-Variables
-Functions
-Example: FirstProgram
-Scope
-Conditionals
-Example: ShoppingTrip
-Wrap Up

3. Memory and Pointers: Advanced C
-Arrays
-Loops
-Text Strings
-Multidimensional Arrays
-Pointers
-Dynamic Memory
-Strings and Dynamic Memory
-Arrays of Strings
-Example: AddressBook
-Structs
-Header Files
-Compile and Run the HeaderFileTest Example
-Create Files for the Song Struct
-Final Example

4. Thinking in Objects
-Structs and Classes
-Accessors
-Inheritance
-Composition
-Object Lifetime
-Built-in Classes

5. Basic Objective-C
-NSString Basics
-Using Methods
-Accessors
-Creating Objects
-Basic Memory Management
-Declaring a Class
-Implementing a Class
-Example: PhotoInfo

6. More Objective-C
-More on Memory Management
-Class Name Prefixes
-Properties
-64-Bit Objective-C
-Categories
-Introspection
-Protocols
-Dynamic Messaging
-Exceptions
-Example: DataCollector

7. Foundation Value Classes
-NSString
-Mutability
-Core Foundation
-NSNumber
-NSData
-NSArray
-NSDictionary
-NSSet
-NSValue
-NSDate

8. Basic Controls
-How to Use This Chapter
-Windows and Views
-Targets and Actions
-Outlets
-Datasources
-Bindings

9. Designing Applications Using MVC
-About This Project
-Create the Project Files
-Create the User Interface
-Run the Application
-Preparing for Release

10. Custom Views and Drawing
-Basic Geometry
-Basic Drawing
-Bezier Paths
-Images
-Shadows
-Gradients
-Refactoring View Code
-Text
-Handling Mouse and Keyboard Events

11. The Final Word
-The List
-Websites
-Last Thought

Index

Net verschenen

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Cocoa and Objective-C: Up and Running