Pages

Friday, January 18, 2013

Learning Cocoa with Objective-C: Developing for the Mac and iOS App Stores, 3rd Edition

Learning Cocoa with Objective-C: Developing for the Mac and iOS App Stores, 3rd Edition

Get up to speed on Cocoa and Objective-C, and start developing applications on the iOS and OS X platforms. If you don’t have experience with Apple’s developer tools, no problem! From object-oriented programming to storing app data in iCloud, this book covers everything you need to build apps for the iPhone, iPad, and Mac.
You’ll learn how to work with the Xcode IDE, Objective-C’s Foundation library, and other developer tools such as Event Kit framework and Core Animation. Along the way, you’ll build example projects, including a simple Objective-C application, a custom view, a simple video player application, and an app that displays calendar events for the user.
  • Learn the application life cycle on OS X and iOS
  • Work with the user-interface system in Cocoa and Cocoa Touch
  • Use AV Foundation to display video and audio
  • Build apps that let users create, edit, and work with documents
  • Store data locally with the file system, or on the network with iCloud
  • Display lists or collections of data with table views and collection views
  • Interact with the outside world with Core Location and Core Motion
  • Use blocks and operation queues for multiprocessing
Table of Contents

  1. Chapter 1 Cocoa Development Tools

    1. The Mac and iOS Developer Programs

    2. Getting Around in Xcode

    3. Developing a Simple Objective-C Application

    4. Using the iOS Simulator

  2. Chapter 2 Object-Oriented Programming with Objective-C

    1. Object-Oriented Programming

    2. Memory Management

    3. The NSObject Life Cycle

  3. Chapter 3 Foundation

    1. Mutable and Immutable Objects

    2. Strings

    3. Arrays

    4. Dictionaries

    5. NSValue and NSNumber

    6. Data

    7. Design Patterns in Cocoa

  4. Chapter 4 Applications on OS X and iOS

    1. What Is an Application?

    2. The Application Lifecycle

    3. The Application Sandbox

  5. Chapter 5 Graphical User Interfaces

    1. Interfaces in OS X and iOS

    2. MVC and Application Design

    3. Nib Files

    4. Constructing an Interface

    5. Building an App with Nibs and Constraints

    6. Core Animation

  6. Chapter 6 Blocks and Operation Quotes

    1. Blocks

    2. Concurrency with Operation Queues

    3. Putting It All Together

  7. Chapter 7 Drawing Graphics in Views

    1. How Drawing Works

    2. The Pixel Grid

    3. Drawing in Views

    4. Building a Custom View

  8. Chapter 8 Audio and Video

    1. AV Foundation

    2. Playing Video with AVPlayer

    3. Playing Sound with AVAudioPlayer

    4. Working with the Photo Library

  9. Chapter 9 Model Objects and Data Storage

    1. Key-Value Coding

    2. Key-Value Observing

    3. Notifications with NSNotification

    4. Preferences

    5. Working with the Filesystem

    6. Working with the Sandbox

  10. Chapter 10 Cocoa Bindings

    1. Binding Views to Models

    2. A Single Bindings App

    3. Binding to Controllers

    4. Array and Object Controllers

    5. A More Complex Bindings App

  11. Chapter 11 Table Views and Collection Views

    1. Data Sources and Delegates

    2. Table Views

    3. UITableView on iOS

    4. NSTableView on OS X

    5. Collection Views

  12. Chapter 12 Document-Based Applications

    1. The NSDocument and UIDocument Classes

    2. Document Objects in MVC

    3. Kinds of Documents

    4. The Role of Documents

    5. Document-Based Applications on OS X

    6. Document-Based Applications on iOS

  13. Chapter 13 Networking

    1. Connections

    2. Building a Networked Application

    3. Discovering Nearby Services

  14. Chapter 14 Working with the Real World

    1. Working with Location

    2. Geocoding

    3. Locations and Privacy

    4. Device Motion

    5. Printing Documents

  15. Chapter 15 Event Kit

    1. Understanding Events

    2. Working with Events

    3. Building an Events Application

    4. User Privacy

  16. Chapter 16 Instruments and the Debugger

    1. Getting Started with Instruments

    2. Fixing Problems with Instruments

    3. Retain Cycles and Leaks

    4. Using the Debugger

  17. Chapter 17 Sharing and Notifications

    1. Sharing

    2. Notifications

  18. Chapter 18 Nonstandard Apps

    1. Command-Line Tools

    2. Preference Panes

    3. Status Bar Items

  19. Chapter 19 Working with Text

    1. Internationalization and Localization

    2. Formatting Data with NSFormatter

    3. Detecting Data with NSDataDetector

  20. Chapter 20 iCloud

    1. What iCloud Stores

    2. Setting Up for iCloud

    3. Testing Whether iCloud Works

    4. Storing Settings

    5. iCloud Storage






0 commentaires:

Post a Comment