Preface
1.WorkingwithObjects
1.1ImplementingandUsingCustomObjects
1.2AllocatingandInitializingObjects
1.3DefiningTwoorMoreMethodswiththeSameName
inanObject
1.4DefiningandAccessingProperties
1.5ManagingPropertiesManually
1.6ReusingaBlockofCode
1.7CommunicatingWithObjects
1.8InvokingtheSelectorsofanObjectDynamically
1.9ManagingMemorywiththeiOSSDK
1.10ManagingUntypedObjects
2.ImplementingControllersandViews
2.1GettingandUsingtheApplicationDelegate
2.2ManagingtheViewsinYourApplication
2.3CreatingYourApplication'sGUI
2.4MakingYourViewControllerAvailableatRuntime
2.5UsingaViewinYourApplication'sGUI
2.6ManagingMaster-DetailViews
2.7ManagingMultipleViews
2.8IncorporatingandUsingModelsintheGUI
2.9ImplementingNavigationBars
2.10SwitchingfromOneViewtoAnother
2.11SettingtheTitleonaNavigationBar
2.12DisplayinganImagefortheTitleoftheNavigationBar
2.13CreatingandManagingButtonsonaNavigationBar
2.14RemovingaViewfromaNavigationController
2.15ManipulatingaNavigationController'sArrayof
ViewControllers
2.16IncorporatingaTabBarintoYourApplication
2.17PopUpAdditionalInformationoveriPadUIElements
3.ConstructingandUsingTableViews
3.1CreatingaTableViewUsingInterfaceBuilder
3.2CreatingaTableViewUsingCode
3.3AssigninganEventHandlertoaTableViewUsing
InterfaceBuilder
3.4AssigninganEventHandlertoaTableViewUsingXcode
3.5PopulatingaTableViewwithData
3.6ReceivingandHandlingTableViewEvents
3.7UsingDifferentTypesofAccessoriesiriaTableView
3.8CreatingCustomTableViewAccessories
3.9CustomizingtheAppearanceofaTableView'sContents
3.10DisplayingHierarchicalData
3.11EffectivelyManagingMemorywithTableViews
3.12EditingandMovingDatainaTableView
3.13EnablingSwipeDeletion
3.14GroupingData
4.CoreLocationandMaps
4.1CreatingaMapUsingInterfaceBuilder
4.2CreatingaMapUsingCode
4.3HandlingtheEventsofaMap
4.4PinpointingaDevice'sLocation
4.5DisplayingBuilt-inPinsonaMapView
4.6DisplayingPinswithDifferentColorsonaMapView
4.7CreatingandDisplayingCustomPinsonaMapView
4.8RetrievingMeaningfulAddressesUsingSpatialCoordinates
4.9RetrievingSpatialCoordinatesUsingMeaningfulAddresses
5.ImplementingGestureRecognizers
5.1DetectingSwipeGestures
5.2ReactingtoRotationGestures
5.3DetectingPanningandDraggingGestures
5.4DetectingLongPressGestures
5.5RespondingtoTapGestures
5.6RespondingtoPinchGestures
6.NetworkingandXMk
6.1OpeningandReadingaLocalXMLFile
6.2ParsinganXMLFileintoObjects
6.3DownloadingFilesSynchronously
6.4DownloadingFilesAsynchronously
6.5ReadingandParsingRemoteXMLFiles
6.6CachingFilesinMemory
6.7CachingFilesonDisk
7.Operations,Threads,andTimers
7.1RunningTasksSynchronously
7.2RunningTasksAsynchronously
7.3CreatingaDependencyBetweenTasks
7.4PerformingaTaskAfteraDelay
7.5PerformingPeriodicTasks
7.6PerformingPeriodicTasksEfficiently
7.7InitializingThreadsImplicitly
7.8ExitingThreadsandTimers
7.9AvoidingMemoryLeaksinThreads
8.AudioandVideo;...
8.1PlayingAudioFiles
8.2HandlingInterruptionsWhilePlayingAudioFiles
8.3RecordingAudioFiles
8.4HandlingInterruptionsWhileRecordingAudioFiles
8.5PlayingAudiooverOtherSoundsThatArePlaying
8.6PlayingVideoFiles
8.7CapturingThumbnailsfromaVideoFileAsynchronously
8.8AccessingtheiPodLibraryinResponsetoaUserRequest
9.AddressBook
9.1AccessingtheAddressBook
9.2RetrievingAllthePeopleintheAddressBook
9.3RetrievingPropertiesofAddressBookEntries
9.4InsertingaPersonEntryintheUser'sAddressBook
9.5InsertingaGroupEntryintheUser'sAddressBook
9.6AddingPersonstoGroups
9.7SearchingintheAddressBook
9.8RetrievingandSettingaPerson'sAddressBookImage
10.CameraandthePhotoLibrary
10.1DetectingandProbingtheCamera
10.2TakingPhotoswiththeCamera
10.3TakingVideoswiththeCamera
10.4StoringPhotosinthePhotoLibrary
10.5StoringVideosinthePhotoLibrary
10.6RetrievingPhotosandVideosfromthePhotoLibrary
10.7RetrievingAssetsfromtheAssetsLibrary
10.8EditingVideosonaniOSDevice
11.Multitasking
11.1DetectingtheAvailabilityofMultitasking
11.2CompletingaLong-RunningTaskintheBackground
11.3ReceivingLocalNotificationsintheBackground
11.4PlayingAudiointheBackground
11.5HandlingLocationChangesintheBackground
11.6SavingandLoadingtheStateofaMultitaskingiOSApplication
11.7HandlingNetworkConnectionsintheBackground
11.8HandlingNotificationsDeliveredtoaWakingApplication
11.9HandlingLocaleChangesintheBackground
11.10RespondingtoChangesinanApplication'sSettings
11.11OptingOutofBackgroundExecution
12.CoreData
12.1CreatingaCoreDataModelwithXcode
12.2CreatingandUsingCoreDataModelClasses
12.3CreatingandSavingDataUsingCoreData
12.4LoadingDataUsingCoreData
12.5DeletingDataUsingCoreData
12.6SortingDataUsingCoreData
12.7BoostingDataAccessinTableViews
12.8ImplementingRelationshipswithCoreData
13.EventKit
13.1RetrievingtheListofCalendars
13.2AddingEventstoCalendars
13.3AccessingtheContentsofCalendars
13.4RemovingEventsfromCalendars
13.5AddingRecurringEventstoCalendars
13.6RetrievingtheAttendeesofanEvent
13.7AddingAlarmstoCalendars
13.8HandlingEventChangedNotifications
13.9PresentingEventViewControllers
13.10PresentingEventEditViewControllers
14.Graphics
14.1DrawingBasicShapesonaGraphicsContext
14.2DrawingPathsonaGraphicsContext
14.3DrawingImagesonaGraphicsContext
14.4CapturingtheScreenContentsintoanImage
14.5DrawingTextwithCoreGraphics
15.CoreMotion
15.1DetectingtheAvailabilityofanAccelerometer
15.2DetectingtheAvailabilityofaGyroscope
15.3RetrievingAccelerometerData
15.4DetectingaShakeonaniOSDevice
15.5RetrievingGyroscopeData
Index