Contents

Image About the Author

Image About the Technical Reviewer

Image Acknowledgments

Image Preface

Image Chapter 1: Application Development

1.1 Creating a Terminal Application

Problem

Solution

How It Works

The Code

Usage

1.2 Writing to the Console

Problem

Solution

How It Works

The Code

Usage

1.3 Creating a New Custom Class

Problem

Solution

How It Works

The Code

Usage

1.4 Code Property Assessors

Problem

Solution

How It Works

The Code

Usage

1.5 Code Property Assessors with @synthesize

Problem

Solution

How It Works

The Code

Usage

1.6 Adding a Class Method to a Custom Class

Problem

Solution

How It Works

The Code

Usage

1.7 Adding an Instance Method to a Custom Class

Problem

Solution

How It Works

Usage

1.8 Extending a Class with a Category

Problem

Solution

How It Works

The Code

Usage

1.9 Creating a Mac Window-Based Application from Terminal

Problem

Solution

How It Works

The Code

Usage

1.10 Adding a User Control to a Mac Application

Problem

Solution

How It Works

The Code

Usage

1.11 Creating a Mac Window-Based Application From Xcode

Problem

Solution

How It Works

The Code

Usage

1.12 Creating an iOS Application from Xcode

Problem

Solution

How It Works

The Code

Usage

1.13 Adding User Controls to an iOS Application with Target-Action

Problem

Solution

How It Works

The Code

Usage

1.14 Adding User Controls to an iOS Application with Delegation

Problem

Solution

How It Works

The Code

Usage

Image Chapter 2: Working With Strings and Numbers

2.1 Creating a String Object

Problem

Solution

How It Works

The Code

Usage

2.2 Reading Strings from Files on a Mac

Problem

Solution

How It Works

The Code

Usage

2.3 Reading Strings from Files on iOS

Problem

Solution

How It Works

The Code

Usage

2.4 Writing Strings to Files on a Mac

Problem

Solution

How It Works

The Code

Usage

2.5 Writing Strings To Files On iOS

Problem

Solution

How It Works

The Code

Usage

2.6 Comparing Strings

Problem

Solution

How It Works

The Code

Usage

2.7 Manipulating Strings

Problem

Solution

How It Works

The Code

Usage

2.8 Searching Through Strings

Problem

Solution

How It Works

The Code

Usage

2.9 Localizing Strings

Problem

Solution

How It Works

The Code

Usage

2.10 Converting Numbers to Strings

Problem

Solution

How It Works

The Code

Usage

2.11 Converting Strings to Numbers

Problem

Solution

How It Works

The Code

Usage

2.12 Formatting Numbers

Problem

Solution

How It Works

The Code

Usage

Image Chapter 3: Working with Object Collections

3.1 Creating an Array

Problem

Solution

How It Works

The Code

Usage

3.2 Referencing Objects in Arrays

Problem

Solution

How It Works

The Code

Usage

3.3 Obtaining the Array Count

Problem

Solution

How It Works

The Code

Usage

3.4 Iterating Through an Array

Problem

Solution

How It Works

The Code

Usage

3.5 Sorting an Array

Problem

Solution

How It Works

The Code

Usage

3.6 Querying an Array

Problem

Solution

How It Works

The Code

Usage

3.7 Manipulating Array Contents

Problem

Solution

How It Works

The Code

Usage

3.8 Saving Arrays to the File System

Problem

Solution

How It Works

The Code

Usage

3.9 Reading Arrays from the File System

Problem

Solution

How It Works

The Code

Usage

3.10 Creating a Dictionary

Problem

Solution

How It Works

The Code

Usage

3.11 Referencing Objects in Arrays

Problem

Solution

How It Works

The Code

Usage

3.12 Obtaining the Dictionary Count

Problem

Solution

How It Works

The Code

Usage

3.13 Iterating Through a Dictionary

Problem

Solution

How It Works

The Code

Usage

3.14 Manipulating Dictionary Contents

Problem

Solution

How It Works

The Code

Usage

3.15 Saving Dictionaries to the File System

Problem

Solution

How It Works

The Code

Usage

3.16 Reading Dictionaries from the File System

Problem

Solution

How It Works

The Code

Usage

3.17 Creating a Set

Problem

Solution

How It Works

The Code

Usage

3.18 Obtaining the Set Count

Problem

Solution

How It Works

The Code

Usage

3.19 Comparing Sets

Problem

Solution

How It Works

The Code

Usage

3.20 Iterating Through a Set

Problem

Solution

How It Works

The Code

Usage

3.21 Manipulating Set Contents

Problem

Solution

How It Works

The Code

Usage

Image Chapter 4: File System

4.1 Referencing and Using the File Manager

Problem

Solution

How It Works

The Code

Usage

4.2 Getting Mac System Directory References

Problem

Solution

How It Works

The Code

Usage

4.3 Getting Key iOS Directory References

Problem

Solution

How It Works

The Code

Usage

4.4 Getting File Attributes

Problem

Solution

How It Works

The Code

Usage

4.5 Getting the List of Files and Sub-Directories in a Directory

Problem

Solution

How It Works

The Code

Usage

4.6 Managing Directories

Problem

Solution

How It Works

The Code

Usage

4.7 Managing Files

Problem

Solution

How It Works

The Code

Usage

4.8 Checking File Status

Problem

Solution

How It Works

The Code

Usage

4.9 Changing File Attributes

Problem

Solution

How It Works

The Code

Usage

4.10 Using Delegation with NSFileManager

Problem

Solution

How It Works

The Code

Usage

4.11 Working with Data Using NSData

Problem

Solution

How It Works

The Code

Usage

4.12 Caching Content with NSCache

Problem

Solution

How It Works

The Code

Usage

Image Chapter 5: Working With Dates, Times, and Timers

5.1 Creating a Date Object for Today

Problem

Solution

How It Works

The Code

Usage

5.2 Creating Custom Dates by Component

Problem

Solution

How It Works

The Code

Usage

5.3 Comparing Two Dates

Problem

Solution

How It Works

The Code

Usage

5.4 Converting a String to a Date

Problem

Solution

How It Works

The Code

Usage

5.5 Formatting Dates for Display

Problem

Solution

How It Works

The Code

Usage

5.6 Adding and Subtracting Dates

Problem

Solution

How It Works

The Code

Usage

5.7 Using a Timer to Schedule and Repeat Tasks

Problem

Solution

How It Works

The Code

Usage

Image Chapter 6: Asynchronous Processing

6.1 Running a Process in a New Thread

Problem

Solution

How It Works

The Code

Usage

6.2 Communicating Between the Main Thread and a Background Thread

Problem

Solution

How It Works

The Code

Usage

6.3 Locking Threads with NSLock

Problem

Solution

How It Works

The Code

Usage

6.4 Locking Threads with @synchronized

Problem

Solution

How It Works

The Code

Usage

6.5 Asynchronous Processing with Grand Central Dispatch (GCD)

Problem

Solution

How It Works

The Code

Usage

6.6 Using Serial Queues in GCD

Problem

Solution

How It Works

The Code

Usage

6.7 Implement Asynchronous Processing Using NSOperationQueue

Problem

Solution

How It Works

The Code

Usage

Image Chapter 7: Consuming Web Content

7.1 Downloading a File

Problem

Solution

How It Works

The Code

Usage

7.2 Consuming a Web Service Using XML

Problem

Solution

How It Works

The Code

Usage

7.3 Consuming a Web Service Using JSON

Problem

Solution

How It Works

The Code

Usage

7.4 Asynchronously Consuming Web Content

Problem

Solution

How It Works

The Code

Usage

Image Chapter 8: Memory Management

8.1 Understanding Memory Management

Problem

Solution

8.2 Setting up an Application without ARC

Problem

Solution

How It Works

The Code

Usage

8.3 Using Reference Counting to Manage Memory

Problem

Solution

How It Works

The Code

Usage

8.4 Adding Memory Management to Your Custom Classes

Problem

Solution

How It Works

The Code

Usage

8.5 Using Autorelease

Problem

Solution

How It Works

The Code

Usage

8.6 Enabling Garbage Collection for Mac Applications

Problem

Solution

How It Works

Image Chapter 9: Working with Object Graphs

Object-Orientated Vocabulary

Entity

Class

Objects

The Object Graph

9.1 Creating an Object Graph

Problem

Solution

How It Works

The Code

Usage

9.2 Using Key-Value Coding

Problem

Solution

How It Works

The Code

Usage

9.3 Using Key Paths in Your Object Graph Problem

Solution

How It Works

The Code

Usage

9.4 Aggregating Information with Key Paths

Problem

Solution

How It Works

The Code

Usage

9.5 Implementing the Observer Pattern

Problem

Solution

How It Works

The Code

Usage

9.6 Inspecting Classes and Objects

Problem

Solution

How It Works

The Code

Usage

9.7 Archiving Your Object Graph

Problem

Solution

How It Works

The Code

Usage

Image Chapter 10: Core Data

10.1 Adding Core Data Support to an Application

Problem

Solution

The Code

Usage

10.2 Adding an Entity Description

Problem

Solution

How It Works

The Code

Usage

10.3 Adding a Managed Object to an Application

Problem

Solution

How It Works

The Code

Usage

10.4 Adding a Managed Object to Core Data

Problem

Solution

How It Works

The Code

Usage

10.5 Retrieving Objects from the Data Store

Problem

Solution

How It Works

The Code

Usage

10.6 Posting Changes to the Data Store

Problem

Solution

How It Works

The Code

Usage

10.7 Using One-To-One Relationships with Core Data

Problem

Solution

How It Works

The Code

Usage

10.8 Using One-To-Many Relationships with Core Data

Problem

Solution

How It Works

The Code

Usage

10.9 Managing Data Store Versioning

Problem

Solution

How It Works

The Code

Usage

Image Chapter 11: Objective-C Beyond Mac and iOS

11.1 Installing GNUstep on Windows

Problem

Solution

How It Works

11.2 Objective-C Hello World on Windows

Problem

Solution

How It Works

The Code

Usage

11.3 Downloading Objective-J for Web Apps

Problem

Solution

How It Works

Usage

11.4 Coding a Hello World Objective-J Application

Problem

Solution

How It Works

The Code

Usage

11.5 Adding a Button to an Objective-J Application

Problem

Solution

How It Works

The Code

Usage

Image Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.245.140