... . 44 5
12.1 Creating a Core Data Model with Xcode 44 7
12.2 Creating and Using Core Data Model Classes 45 1
12.3 Creating and Saving Data Using Core Data 45 3
12 .4 Loading Data Using Core Data 45 6
12.5 ... classes that are available in iOS 3 and iOS
4. In some recipes, you will find code that runs only on iOS4 and later; in those recipes,
I note that you will need the iOS4 SDK or later to compile ... Waking Application 43 5
11.9 Handling Locale Changes in the Background 43 8
11.10 Responding to Changes in an Application’s Settings 44 0
11.11 Opting Out of Background Execution 44 2
12. Core Data...
... Interface Builder 142
4. 2 Creating a Map Using Code 143
4. 3 Handling the Events of a Map 146
4.4 Pinpointing a Device’s Location 147
4. 5 Displaying Built-in Pins on a Map View 151
4. 6 Displaying ... . 44 5
12.1 Creating a Core Data Model with Xcode 44 7
12.2 Creating and Using Core Data Model Classes 45 1
12.3 Creating and Saving Data Using Core Data 45 3
12 .4 Loading Data Using Core Data 45 6
12.5 ... Waking Application 43 5
11.9 Handling Locale Changes in the Background 43 8
11.10 Responding to Changes in an Application’s Settings 44 0
11.11 Opting Out of Background Execution 44 2
12. Core Data...
... Dybowska.
www.it-ebooks.info
iOS 5 Programming Cookbook
by Vandad Nahavandipoor
Revision History for the :
See http://oreilly.com/catalog/errata.csp?isbn=978 144 931 143 8 for release details.
ISBN: 978-1 -44 9-31 143 -8
1318287906
www.it-ebooks.info
1 .4 ... classes that are available in iOS 3 and iOS
4. In some recipes, you will find code that runs only on iOS4 and later; in those recipes,
I note that you will need the iOS4 SDK or later to compile ... . 45 7
7.1
Detecting Swipe Gestures 45 9
7.2
Detecting Rotation Gestures 46 1
7.3
Detecting Panning and Dragging Gestures 46 5
7 .4
Detecting Long Press Gestures 46 7
7.5
Detecting Tap Gestures 47 0
7.6
Detecting...
... around 30% of iOS devices today are
running iOS versions that are about a year or a year and a half old. If today we are
working with iOS 5, there are still iOS devices out there running iOS, 3 for ... with the name of DOWNLOAD_ COMPLETED that gets fired from
two classes, one being a download manager that downloads images from the internet
and another being a download manager that downloads data ... available only in iOS 5 SDK and only devices
running iOS 5 will be able to run such code. However, if you are planning to support
iOS 4 as well as iOS 5, then you can, at run-time, detect the availability...
... 38
Creating a data client 42
Chapter 2: Apple Low-level Networking 45
Introduction 45
Retrieving network address information 46
Performing a network address resolution 48
Creating an echo server ... code.
www.it-ebooks.info
iii
Table of Contents
Chapter 8: MKNetworkKit 247
Introduction 247
Creating and using the MKNetworkKit engine 249
Uploading a le using MKNetworkKit 253
Downloading a le using MKNetworkKit 258
Using ... chapter.
The downloadable code contains sample projects for both iOS and OS X.
Once you download the code, you can start the server and test it using the
following telnet command:
telnet localhost 20 04
Once...