Index

Numbers

3D (three dimensional) transforms

adding perspective, 211212

in CALayer, 201

Core Animation, 209210

3G (three-G) data connection, 62

A

ACAccountCredential

defined, 118

migrating accounts into Accounts, 124

ACAccounts

accessing, 121

defined, 118

ACAccountStore

defined, 118120

maintaining separation, 127

populating with available accounts, 121

ACAccountStoreDidChangeNotification, 126, 138

ACAccountType

accessing accounts, 121122

defined, 119

ACAccountTypeIdentifierTwitter, 118119

access tokens

in Accounts framework, 121122

migrating into Accounts, 122124

OAuth services, 115116

accessGranted, 121

Accounts

accessing accounts in, 121122

defined, 18

getting started, 114117

migrating users from existing apps into, 122124

new apps and, 118120

overview, 113

special considerations, 125127

using, 118

accountsd process, 121

accountsDidChange:, 126

accuracy

constants, 8586

for region monitoring, 100

addArcWithCenter, 156157

addCurveToPoint, 156

adding

iCloud entitlements, 5860

new objects in Core Data, 4142

new persistent stores, 38

addLineToPoint, 156157

address dictionaries, 106

airplane mode and geocoding, 103

alpha, 195

Ambient mode

AVAudioPlayer, 239

AVAudioSession, 234

analyzing images

with CIDetector, 168

with Core Image, 182184

overview, 166

Angry Birds, 225

animateWithDuration:animations:, 200

animation. see Core Animation

animation blocks, 199200

animation contexts, 197198

animationDidStop, 197

animationWithKeyPath, 209

Aperture, 164

APNS (Apple Push Notification Service)

missed notifications, 296297

overview, 291298

App ID, 5758

App Store, 275276

appearance of Newsstand app, 290

Apple

audio session documentation, 237

Core Animation, 194

Core Image, 164

document storage, 78

Mac OS X. see Mac OS X

multicore processor, 11

Twitter and Accounts, 113

video streaming guidelines, 257

Apple Push Notification Service (APNS)

missed notifications, 296297

overview, 291298

Application Music Player, 229230

Application presents content in Newsstand, 280

applicationDidLaunch, 293

applyingFilter, 190

apps

Accounts and new, 118120

challenges of audio, 224

document storage, 7677

iCloud storage between platforms, 61

iCloud use case, 55

migrating users from existing into Accounts, 122124

Newsstand. see Newsstand Kit

Top Ten Technologies of iOS 5, 1819

Twitter. see Twitter

understanding Newsstand, 282283

using iOS frameworks, 67

using multicore processors, 11

why use Core Graphics?, 148

ARC (Automatic Reference Counting), 6

architecture of Core Data, 25

arcWithCenter, 156157

assets

Assets Library, 247

defined, 244

downloading, 284290

ATOM feed, 281

attributes. see also properties

defined, 26

filter, 173176

attributes dictionary

for complex filters, 176

key-value coding and, 168

for Sepia-tone filter, 175

audio. see Core Audio

audio capture. see capturing media

audio sessions, 233237

Audio Toolbox, 226

Audio Unit, 226

audioPlayerBeginInterruption:, 240

audioPlayerdecodeErrordidOccur:error:, 240

audioPlayerdidFinishPlaying:successfully:, 240

audioPlayerEndInterruption:, 240

AudioSessionGetProperty(), 236

authentication

in Accounts workflow, 116117

migrating into Accounts, 122124

performing TWRequest, 134135

understanding OAuth services, 115116

authorization status, 8890

author’s note, 299

auto adjustment filters, 183

automatic filter enhancement, 166

Automatic Reference Counting (ARC), 6

AV Foundation

Audio Session, 233237

AVCaptureSession, 262

AVCaptureVideoPreviewLayer, 262263

custom image capture, 263269

defined, 19

getting started, 244247

in-camera effects and video, 269270

linking to project, 226

MPMoviePlayerController, 256261

multimedia frameworks, 222223

out-of-the-box solutions, 248

overview, 243

UIImagePickerController, 248255

availability

checking iCloud, 71, 78

checking Twitter, 131

determining location service, 8890

filter, 173174

Newsstand content, 293

AVAsset, 244

AVAudioPlayer, 232, 237240

AVAudioSession, 233237

AVCaptureConnection, 267269

AVCaptureOutputs, 269270

AVCaptureSession, 262267

AVCaptureVideoPreviewLayer, 262263, 265266

AVPlayerLayer, 244

B

background processes

AVAudioPlayer, 237239

AVAudioSession, 233235, 237

Newsstand app, 291

Newsstand app properties, 280

Newsstand apps waking up, 296297

rendering and filtering images, 184186

standard location services as, 93

using expiration handler, 295296

backgroundColor

custom animation, 204205

keyframe animation, 206207

UIKit animation, 195

beginAnimation, 197198

beginGeneratingPlaybackNotification, 231

beginInterruption, 236

blocks

in multicore processor, 1416

running filters in background thread, 184186

UIKit animations with, 199200

using in iOS frameworks, 1617

bounds, 195

built-in filters, 173174

bundle ID

defined, 54

enabling iCloud, 5758

using wildcards in, 57

C

CAAnimation

customization, 204205

defined, 203

CABasicAnimation, 203

Caches folder

defined, 284

downloading Newsstand content to, 285286

moving downloaded files to, 289

CAEmitterCells, 213217

CAEmitterLayer, 215217

CAKeyframeAnimation

along paths, 208

color change animation, 206207

defined, 203

CALayer

AVPlayerLayer and, 244

defined, 201202

Calendar, 148

cameras

adding to AVCaptureSession, 264267

capture mode, 255

creating recorder with UIImagePickerController, 251254

filters. see filters

images. see images

in-camera effects and video, 269270

UIImagePickerController source types, 250

canSendTweet, 131

captureMode, 255

captureStillImageAsynchronouslyFromConnection:, 267269

capturing media

AVCaptureSession, 262

AVCaptureVideoPreviewLayer, 262263

custom, 263269

in-camera effects and video, 269270

using UIImagePickerController, 250254

CATransform3D, 211212

CATransitionAnimation, 203

cell emitters, 215217

cell towers

location information, 84

significant location change monitoring, 94

center, 195

CFBundleIcons, 280

CGImageRef

CIImage and, 170172

rendering images, 181

rendering in background thread, 185186

CGPDFGraphicsContext, 147

change monitoring, 9495

change notifications

Core Data persistent store, 7475

iCloud, 53

observing account database, 126

responding to iCloud, 6770

syncing, 70

CIContext

defined, 168169

rendering images, 178181

rendering in background thread, 185186

CIDetector

defined, 168169

image analysis, 183184

CIFaceFeature, 168

CIFeature, 168

CIFilter, 168169

CIImage

defined, 168169

UIImage and, 170172

CIVector, 169

classes

defined, 8

generating managed object, 27

CLLocationManager

heading monitoring, 9698

overview, 91

region monitoring, 98100

responding to new information for, 100101

significant location change monitoring, 9495

standard location service, 9193

CLLocationManagerauthorizationStatus, 8890

CLLocationManagerlocationServicesEnabled, 8890

CLPlacemarks

forward geocoding, 104105

reverse geocoding, 106107

CMMotionManager, 1617

Cocoa Touch, 5

coding. see Xcode

coding, key-value. see key-value coding

colors

animating particle emitters, 215216

custom animation, 204205

keyframe animation, 206207

UIKit animation, 195

commitAnimation, 197198

compass, 96

completion block handlers

capturing still image with, 269

executing code on main thread from, 125126

GCD, 119120, 125

handling TWRequest response, 136137

tweet compose view controller, 131

complex filters, 176

concurrency

in Core Data, 33

in GCD, 13

in multicore processor, 1112

when creating managed object context, 39

condition change notification, 69

connectionDidFinishDownload

handling finished downloads, 287289

updating app appearance, 290

connectionDidFinishLoading, 134

connections

AVCaptureConnection, 267269

geocoding requirements, 103

content

downloading Newsstand app, 284290

loading into MPMoviePlayerController, 257261

Newsstand updated notifications, 293

responding to remote notifications, 295296

contentStretch, 195

context, animation, 197198

context, Core Image, 178181

context, graphics. see graphics context

context, managed object. see managed object context

control events, 47

coordinate system of Core Graphics, 145146

Core Animation

3D transforms, 209210

adding perspective, 211212

animating along paths, 207208

custom effects, 201205

defined, 19

getting started, 194196

keyframe animations, 206207

overview, 193

particle emitters, 213217

using UIKit, 197200

Core Audio

AVAudioPlayer, 237240

AVAudioSession, 233237

defined, 19

getting started, 224226

multimedia frameworks, 222223

overview, 221

using audio from other sources, 232

using iPod Music Library, 227231

Core Data

adding new objects, 4142

concurrency in, 33

defined, 18, 2425

deleting objects, 4445

fetching and modifying objects, 4244

getting started, 24

managed object context, 3032

managed object model, 2627

overview, 23

persistent store and store file, 2830

persistent store coordinator, 28

setting up in Xcode, 3440

stack, 25

syncing entitlements, 5859

syncing with iCloud, 6975

undo, redo, rollback and reset, 4548

Core Data Model Editor

creating managed object model, 3536

defined, 26

Core Graphics

defined, 18

getting started, 142148

linking to AV Foundation project, 247

overview, 141

paths, gradients, text, and images, 154160

understanding, 149154

Core Image

analyzing images, 182184

Core Image context, 178181

defined, 19

don’t block main thread, 184186

editor, 187190

filters, 173178

getting started, 164167

linking to AV Foundation project, 247

overview, 163

still images and video frames, 170172

understanding, 168169

Core Image context, 178181

Core Location

defined, 18

forwarding and reverse geocoding, 102107

getting started, 8290

manager. see CLLocationManager

overview, 81

working with Map Kit, 108109

Core Media, 247

Core OS, 5

Core Services

Core Location. see Core Location

defined, 5

GCD in, 14

cover updating, 290

CPU rendering, 178179

customization

animation, 204205

animation effects, 201205

camera overlay, 251254

with Core Graphics, 148

UIView, 149151

CVPixelBuffer, 171

D

data management. see Core Data

default iCloud settings, 54

defaultStore, 64

delegate methods

animation contexts, 197

AVAudioPlayer, 240

AVAudioSession, 233234

capturing video, 269270

CLLocationManager, 100101

downloading content, 285287

handling audio interruptions, 236

Map Kit, 109

media picker controller, 227229

NSURLConnectionDownloadDelegate, 287289

reconnecting abandoned asset downloads, 297298

registering for Newsstand update notifications, 293

deleting objects, 4445

detecting audio sessions, 235236

detecting faces. see face detection

device orientation, 268

dictionaries, address, 106

dictionaries, attribute. see attributes dictionary

didEnterRegion, 98

didExitRegion, 98

didReceiveRemoteNotification, 294, 295

dispatch queues vs. operation queues, 1314

document apps, 55

document storage

iCloud, 7677

iCloud entitlements, 5859

downloading Newsstand content

overview, 284290

reconnecting abandoned, 297298

downloadIssueWithInfo, 296

downloadWithDelegate, 285287

drawing in Core Graphics, 155160

drawRect:

Core Graphics image, 160

customizing UIView, 149150

nesting save and restore calls, 152

overriding, 147

E

EAGLContext, 180

EaseIn, 208

EaseInEaseOut, 208

EaseOut, 208

editing images. see Core Image

effects

cell emitter, 213217

filter. see filters

Flipboard page-turn, 211212

in-camera effects and video, 269270

Elliott, Bryan, 164

emitterCells, 213215

emitterMode, 213

emitterPosition, 213214

emitterShape, 213

enabling iCloud

in provisioning portal, 5758

quick starting, 54

before you begin, 5657

enabling Newsstand app, 281

endInterruptionWithFlags:, 236

entities

creating managed object model, 36

defined, 26

managed object context, 3032

entitlements

adding required to iCloud, 5860

determining availability of iCloud, 71

exception, unknown key, 177

expiration handler, 295296

explicit animations, 202

F

face detection

with CIDetector, 168

defined, 166

image analysis, 182184

favorite tracking, 6567

featuresInImage:options:, 182183

fetched properties

creating managed object model, 36

defined, 27

fetching objects

in Core Data, 4244

managed object context, 32

file coordinator object, 76

filters

AV Foundation, 270

CIFilter object, 168169

in CIImage, 172

Core Image, 173178

Core Image editor, 187190

image analysis, 182184

overview of Core Image, 164

running in background thread, 184186

filtersInCategory:, 187

filtersnamesinCategory:, 174

filterWithName:, 173174

fireworks effect, 213217

flash simulation, 267

flip animation, 209210

Flipboard page-turn effect, 211212

fonts, 159

forKey, 204205

format of APNS, 294

forward geocoding, 102106

Foundation

AV. see AV Foundation

iOS crash course, 8

iOS prerequisites, 4

objects, 136

frame, 195

frameworks, 8

G

Garage Band, 148

GCD (Grand Central Dispatch)

completion block handlers, 120

concurrency in Core Data, 33

defined, 1314

running filters in background thread, 184186

UIKit animations with blocks, 199200

geocodeAddressDictionary, 106

geocoding, 102107

GET method, 133

goals for book, 67

Google Maps, 96

Google Services, 82

gotchas

Core Image editor, 187190

Newsstand app, 296298

GPS, 8485

GPU rendering

vs. CPU rendering, 178179

image, 181

gradients, 158159

Grand Central Dispatch (GCD). see GCD (Grand Central Dispatch)

graphics. see Core Graphics

graphics context

defined, 147

properties, 150151

stack, 151154

H

handler block, 1617

hardware requirements

AVCaptureSession, 266

camera device capability, 254

for location-based apps, 8485

HD (high-definition) recording, 266

heading monitoring

with CLLocationManager, 9698

delegate methods, 101

high-definition (HD) recording, 266

HTTP Live Streaming, 257, 261

I

iCloud

adding required entitlements, 5860

before you begin, 56

defined, 18

document storage, 7677

enabling in iOS Provisioning Portal, 5758

getting started, 52

how it works, 5355

key-value storage, 6369

overview, 51

special considerations, 6162

storage containers, 6061

syncing Core Data, 6975

use case, 55

iCloud Container Identifier, 71

iCloud Daemon, 67

Icon Files, 280

icons, Newsstand app

aspect ratio, 276

styles, 280

updating appearance, 290

identifiers

account, 121

maintaining account store separation, 127

team prefix. see team prefix identifiers

ubiquity container, 54, 71

image picker controller, 248255

images

in AV Foundation. see AV Foundation

in Core Graphics, 160

in Core Image. see Core Image

custom capture, 263269

still images and video frames, 170172

uploading with tweet compose view controller, 130

implicit animations, 202

importing

Accounts and Twitter to project, 114

audio frameworks, 226

Core Graphics, 143

Core Image, 167

Core Location and Map Kit, 83

framework into header files, 10

Newsstand Kit, 278

Quartz Core, 196

in-camera effects, 269270

info property list, 279280

inputImage, 175

inputIntensity, 175177

instance variables

preventing filter lag, 188190

setting CIContext as, 180, 186

interruptions, handling audio, 236, 240

iOS frameworks

crash course, 810

enabling iCloud in Provisioning Portal, 5758

goals for book, 67

overview, 3

prerequisites, 46

top ten technologies, 1819

understanding impact of multicore processor, 1117

iOS Provisioning Portal, 54, 5758

iPad

multicore processor, 11

resolution, 145

iPhone

multicore processor, 11

resolution, 145

iPod Music Library, 227231

iPod Music Player, 229230

issues, Newsstand Kit

defined, 282283

downloading content, 285286

handling finished download and progress, 288289

issueWithName, 4445

iTunes Connect, 281

iWork applications, 55

J

Java, 12

Jobs, Steve, 51

K

Key Value Observing (KVO), 267, 269

keyframe animations

CAKeyframeAnimation, 203

Core Animation, 206208

keys

location-based app, 85

Newsstand app, 279280

key-value coding

attributes dictionary and, 177

custom animation, 205

defined, 168

format of APNS, 294

key-value storage

with iCloud, 6369

iCloud entitlements, 5859

iCloud use case, 55

quick starting iCloud, 54

responding to change notifications, 6769

KVO (Key Value Observing), 267, 269

L

launch site, 213

launchOptions, 296297

layers

graphics context, 151

iOS, 5

preview, 262263

layers, Core Animation

3D transforms, 209210

assigning animations to, 204205

CAEmitterLayer, 215217

CALayer, 201202

LibDispatch, 178

libraries, photo

capturing still image, 267269

selecting photos from, 249250

library, Newsstand Kit, 282283, 297298

linear gradients, 158159

Liner, 208

linking

Accounts and Twitter to project, 114

audio frameworks, 226

AV Foundation to project, 247

Core Data framework, 35

Core Graphics to project, 143

Core Image, 167

Core Location and Map Kit, 83

new frameworks in Xcode project, 910

Newsstand Kit to project, 278

Quartz Core to project, 196

Live Streaming, 257, 261

loading content into MPMoviePlayerController, 257261

location manager. see CLLocationManager

location-services, 85

M

Mac OS X

Core Image, 163

enabling iCloud, 56

iCloud storage between platforms, 61

native frameworks in iOS, 4

main dispatch queue

creating managed object context, 39

in GCD, 1314

managed object context

in Core Data, 3032

creating new, 3940

deleting objects in, 4445

fetching and modifying objects, 4244

tips and tricks, 48

undo, redo, rollback and reset, 47

managed object model

Core Data, 2627

creating in Xcode, 3536

Map Kit

Core Location and, 91

forward and reverse geocoding, 102

working with, 108109

maximum duration of video, 255

Media

AV Foundation, 243

Core Animation, 193

Core Audio, 221

Core Graphics, 141

Core Image, 163

defined, 5

media capture. see capturing media

media picker controller, 227229

Media Player

linking to project, 226, 247

MPMediaPickerController, 227229

MPMoviePlayerController, 245, 256261

MPMoviePlayerViewController, 261

MPMusicPlayerController, 229230

multimedia frameworks, 222223

mediaLibraryButtonPressed:, 227229

mergeChangesFromContextDidSaveNotification:, 70

message composition, 130

methods

Core Graphics image, 160

creating CIContext, 179180

for creating CIImage, 171

delegate. see delegate methods

text, 159

UIBezierPath, 156

migrating users in Accounts, 122124

mirroring data with iCloud, 53, 55

MKMapView, 108109

Mobile Core Services, 247

mobile platforms, 3

model layer of Core Animation, 202

Model-View-Controller (MVC) design paradigm, 2425

modifying objects in Core Data, 4244

monitoring

heading, 9698

region, 98100

significant location change, 9495

motion manager, 1617

moveToPoint, 156157

movie player controller, 256261

moviePlayer, 261

MPMediaPickerController, 227229

MPMoviePlayerController, 245, 256261

MPMoviePlayerViewController, 256257, 261

MPMusicPlayerController, 229230

multicore processors, 1117

multimedia frameworks

AV Foundation, 242246

Core Audio, 222223

multithreading

in multicore processor, 12

UIKit animations with blocks, 199200

Music Library, 227231

music player controller, 229230

MVC (Model-View-Controller) design paradigm, 2425

N

naming

downloads, 288289

Newsstand issues, 283

persistent stores, 7273

newCover, 290

Newsstand Content Availability, 291292

Newsstand Kit

defined, 19

downloading content, 284290

getting started, 276281

notifications, 291296

overview, 275

special considerations, 296298

understanding apps, 282283

NKAssetDownload

defined, 282

downloading content, 285287

handling finished download and progress, 287289

reconnecting abandoned, 297298

NKDontThrottleNewsstandContent Notifications, 293

NKIssue

defined, 282283

downloading content, 285286

handling finished download and progress, 288289

NKLibrary

defined, 282283

reconnecting abandoned asset downloads, 297298

notifications

change. see change notifications

missed APNS, 296297

music player, 230231

Newsstand Kit, 291296

Now Playing

challenges of mobile device audio, 223

using iPod Music Library, 227

NSBinaryStorageType, 30

NSConfinementConcurrencyType, 33

NSData, 171

NsInMemoryStoreType, 30

NSMainQueueConcurrencyType, 33

NSManagedObject

managed object context, 30

objectID, 40

NSNotificationCenter, 53

NSNumber, 69

NSObject, 5

NSPersistentStoreDidImportUbiquitous ContentChangesNotification, 74

NSPredicate, 4344

NSPrivateQueueConcurrencyType, 33

NSSQLiteStoreType, 30

NSThread, 184

NSUbiquitousKeyValueStore

adding and removing objects, 6567

quick starting, 54

using, 64

NSUbiquitousKeyValueStoreDidChange ExternallyNotification, 6768

NSUndoManager, 4547

NSUnknownKeyException, 177

NSURLConnection

creating CIImage with, 171

download delegate, 287289

handling TWRequest response, 136137

performing TWRequest, 134135

NSUserDefaults

adding and removing objects, 6567

key-value storage and, 63

O

OAuth services

in Accounts workflow, 116117

migrating into Accounts, 122124

Twitter API, 132

understanding, 115116

objectForID

defined, 40

tips and tricks, 48

objectForKey:, 175

objectID

defined, 40

tips and tricks, 48

objects

adding new in Core Data, 4142

CAAnimation, 203

CLLocation, 82

CLPlacemarks, 104105

in Core Data, 25

Core Image, 168

creating TWRequest, 132134

deleting in Core Data, 4445

fetching and modifying in Core Data, 4244

location, 91

in managed object model, 2627

NKLibrary, 282283

storing as keys, 63

UIBezierPath, 155157

observers, 267

online materials

for Core Data, 49

iOS, 7

OpenAL, 226

OpenGL ES 2.0, 178

operation queues, 1314

OS X

Core Image, 163

enabling iCloud, 56

iCloud storage between platforms, 61

native frameworks in iOS, 4

outputs of AVCaptureSession, 269270

P

particle emitter animation, 213217

paths

animating along, 207208

in Core Graphics, 155157

performance

CPU vs. GPU rendering, 178179

GCD and, 14

of implicit vs. explicit animation, 202

location data source, 8384

multicore processor, 11

storage types, 58

performBlock

change notifications, 7475

managed object context, 33

performBlockAndWait

creating managed object context, 39

defined, 33

performRequestWithHandler

handling TWRequest response, 136137

performing TWRequest, 134135

performSelectorOnMainThread, 125126

permissions

Accounts workflow, 117

location, 8688

OAuth services, 115

persistent store coordinator

Core Data, 28

creating in Xcode, 37

persistent stores

adding new in Core Data, 38

store file and, 2830

syncing with iCloud, 7075

persistentStoreDidChange:, 7475

perspective, 211212

photo editing. see Core Image

photo library

capturing still image, 267269

selecting photos from, 249250

pixels

modifying with filters, 173178

vs. points, 145146

placemarks

forward geocoding, 104105

reverse geocoding, 106107

platforms, iCloud storage on, 61

Play and Record mode, 234

playback. see AV Foundation; Core Audio

playback, 240

Playback mode, 234

player layer, 244

points coordinate display, 145146

polar coordinate system, 215

preferences, 62

prepareToPlay, 238239

presentation layer of Core Animation, 202

preview layer

adding to AVCaptureSession, 265266

AVCaptureVideoPreviewLayer, 262263

properties

accessGranted, 121

account-type, 114

animating, 203

AVAudioSession, 237

CALayer, 201

CGImageRef, 170

creating managed object model, 36

custom animation, 204205

graphics context, 150151

key-value coding, 168

moviePlayer, 261

Newsstand app info list, 279280

NKIssue, 283

objectID, 40

observers, 267

particle emitter, 213217

showsUserLocation, 108

UIImagePickerController video, 255

UIKit animations, 197198

UIView animatable, 195

userTrackingMode, 109

protocols, Foundation, 5

public timeline, 133

publications. see Newsstand Kit

push notifications, 291298

Q

quality of video, 255

Quartz 2D, 144

Quartz Core

Core Animation, 193

Core Graphics and, 144

linking in Xcode project, 910

linking to AV Foundation project, 247

linking to project, 196

queues

managed object context, 48

operation vs. dispatch, 1314

when creating managed object context, 39

R

radial gradients, 158159

reason keys, 6869

reconnecting abandoned asset downloads, 297298

Record mode, 234

recording HD, 266

recording undo events, 47

rectangle parameter for image rendering, 181

redo, 4548

region monitoring

CLLocationManager, 98100

geocoding, 105

registerForRemoteNotificationTypes:, 293

registering for APNS

Newsstand update notifications, 293

overview, 292

registering iOS apps, 56

relationships

creating managed object model, 36

defined, 26

key-value coding, 168

remote notifications

iOS Simulator and, 292

missed notifications, 296297

registering for Newsstand update notifications, 293

responding to, 295296

removeObjectForKey:, 6567

rendering images

CIImage object, 168

with Core Image context, 178181

running in background thread, 184186

requests

creating TWRequest, 132134

handling TWRequest, 136137

performing in Twitter, 134135

Required background modes, 280

requirements

downloading content, 287289

hardware. see hardware requirements

iCloud entitlements, 5860

reset, 4548

resolution, 145146

response to TWRequest, 136137

restoring graphics context, 152154

retina display, 145146

reverse geocoding, 102103, 106107

rocket animation, 213217

rollback, 4548

root classes, 5

rotationMode, 208

S

Saved Photos album, 250

saving

in Core Data, 48

graphics context, 152154

SDK (Software Development Kit), 9

selecting photos from photo library, 249250

Sepia-tone filter

gotcha, 188

overview, 174177

serial queues, 13

sessions, audio, 233237

setAnimationDidStopSelector, 206

setContentURL, 257

setNeedsDisplay, 150

setNewsstandIconImage, 290

setObject:forKey, 6566

Settings app, 116117

setValue:forKey:, 175, 177

shake events, 47

showPhotoLibrary, 249

showsUserLocation, 108, 110

significant location change monitoring

defined, 9495

delegate methods, 101

sizing fonts, 159

sliders

Core Image editor, 187188

working with filters and, 176

Software Development Kit (SDK), 9

Solo Ambient mode

AVAudioPlayer, 239

AVAudioSession, 234

sound. see Core Audio

soundURL, 239

source types for UIImagePickerController, 249250

standard location service

defined, 9193

delegate methods, 101

startMonitoringForRegion:desired Accuracy, 100

startMonitoringSignificantLocation Changes, 95

startUpdatingHeading, 9697

startUpdatingLocation, 9193

startVideoCapture, 255

state notifications, 230231. see also notifications

still images. see also images

vs. video capture, 269270

video frames and, 170172

Stocks, 148

stopVideoCapture, 255

storage. see key-value storage

account, 118120

containers, 6061, 71

document, 7677

issue, 284

persistent store and store file, 2830

streaming video guidelines, 257

strings

attributes dictionary and, 177

forward geocoding, 104105

key-value coding, 168

sublayer hierarchy of Core Animation, 201

synchronization

Core Data with iCloud, 6975

with key-value storage, 64

responding to notifications, 68

setting up iCloud persistent store, 7273

system accounts. see Accounts

T

team prefix identifiers

defined, 54

determining availability of iCloud, 71

enabling iCloud, 5758

iCloud storage between platforms, 61

technologies in iOS 5, 1819

terms of service, Map Kit, 82

testing iCloud, 78

text, 159

three dimensional (3D) transforms

adding perspective, 211212

in CALayer, 201

Core Animation, 209210

three-G (3G) data connection, 62

Tiny Wings, 225

tokens, access. see access tokens

Top Ten Technologies of iOS 5, 1819

touch events, 47

tracking

favorites, 6567

issues, 282283

location, 108109

transform, 195

transforms. see 3D (three dimensional) transforms

transition animation, 203

Twitter

Accounts. see Accounts

framework in iOS, 18

getting started, 115116

interacting with API, 132137

overview, 113

tweet compose view controller, 128131

TWRequest

creating, 132134

performing, 134135

TWTweetComposeViewController, 128131

U

ubiquitous key-value store. see key-value storage

ubiquity container

document storage and, 7677

quick starting iCloud, 54

ubiquity container identifier

defined, 54

team prefix identifier and, 71, 78

UIBackgroundModes, 280

UIBezierPath, 155157

UIEvent, 142

UIGraphicsGetCurrentContext(), 147

UIImage, 170172

UIImagePickerController, 245, 248255

UIImageView, 181

UIKit

Core Animation using, 197200

Core Graphics and, 142

getting started with Core Animation, 194195

iOS crash course, 8

iOS prerequisites, 4

linking to project, 247

UIImage and CIImage, 170

UIImagePickerController, 248255

UINewsstandApp, 280

UIRemoteNotificationTypeNewsstand ContentAvailability, 293

UITweetComposeViewController, 128

UIView

animatable properties, 195

animation with UIKit, 197200

custom camera overlay, 251254

customization, 149151

undo, 4548

UNIX, 12

unknown authorization status, 90

updating

heading, 9697

location, 9193

Newsstand appearance, 290

notifications, 293

URLs

creating AVAudioPlayer, 238

creating CIImage, 171

creating TWRequest, 132134

downloading issue content, 289

loading content into MPMoviePlayerController, 257

syncing persistent stores, 7273

user accounts. see Accounts

user defaults

adding and removing objects, 6567

key-value storage and, 63

users

events, 47

migrating into Accounts, 122124

userTrackingMode, 109

V

values. see also properties

in CALayer, 201

complex filter, 175176

in Core Data, 25

fetched properties and, 27

keyframe animation, 207

for location authorization, 90

obtaining image analysis, 182183

perspective, 211212

setting Sepia-tone filter, 177

userTrackingMode, 109

video

capture. see capturing media

in-camera effects and, 269270

loading into MPMoviePlayerController, 257261

still images and frames, 170172

working with UIImagePickerController, 254255

videoMaximumDuration, 255

videoQuality, 255

viewDidLoad

animation contexts, 197198

creating MPMoviePlayerController, 260

Twitter availability, 131

views

CALayer, 201

custom camera overlay, 251254

customizing UIView, 149151

Map Kit, 108109

MPMoviePlayerViewController, 256257, 261

tweet compose view controller, 128131

UIImagePickerController, 250

UIView. see UIView

W

Weather

3D transforms, 209

Core Graphics, 148

web services authorization, 115

whitelist, 284

Wi-Fi

geocoding access, 103

location information, 84

significant location change monitoring, 94

wildcards

in bundle ID, 57

iCloud storage between platforms, 61

workflows

Accounts, 116117

image processing, 169

OAuth, 115

X

Xcode

ARC, 6

info property list, 279280

iOS crash course, 810

linking Accounts and Twitter to project, 114

linking audio frameworks to project, 226

linking AV Foundation to project, 247

linking Core Graphics to project, 143

linking Core Image to project, 167

linking Newsstand Kit to project, 278

linking Quartz Core to project, 196

setting up Core Data in, 3440

Z

Z value, 201

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

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