IOS 4 Programming Cookbook : Solutions and Examples for IPhone, IPad, and IPod Touch Apps
IOS 4 Programming Cookbook : Solutions and Examples for IPhone, IPad, and IPod Touch Apps
Click to enlarge
Author(s): Nahavandipoor, Vandad
ISBN No.: 9781449388225
Pages: 638
Year: 201102
Format: Trade Paper
Price: $ 71.68
Status: Out Of Print

Dedication;Preface; Audience; Organization of This Book; Additional Resources; Conventions Used in This Book; Using Code Examples; We''d Like to Hear from You; SafariĀ® Books Online; Acknowledgments;Chapter 1: Working with Objects; 1.1 Introduction; 1.2 Implementing and Using Custom Objects; 1.3 Allocating and Initializing Objects; 1.4 Defining Two or More Methods with the Same Name in an Object; 1.5 Defining and Accessing Properties; 1.6 Managing Properties Manually; 1.7 Reusing a Block of Code; 1.


8 Communicating with Objects; 1.9 Invoking the Selectors of an Object Dynamically; 1.10 Managing Memory with the iOS SDK; 1.11 Managing Untyped Objects;Chapter 2: Implementing Controllers and Views; 2.1 Introduction; 2.2 Getting and Using the Application Delegate; 2.3 Managing the Views in Your Application; 2.4 Creating Your Application''s GUI; 2.


5 Making Your View Controller Available at Runtime; 2.6 Using a View in Your Application''s GUI; 2.7 Managing Master-Detail Views; 2.8 Managing Multiple Views; 2.9 Incorporating and Using Models in the GUI; 2.10 Implementing Navigation Bars; 2.11 Switching from One View to Another; 2.12 Setting the Title on a Navigation Bar; 2.


13 Displaying an Image for the Title of the Navigation Bar; 2.14 Creating and Managing Buttons on a Navigation Bar; 2.15 Removing a View from a Navigation Controller; 2.16 Manipulating a Navigation Controller''s Array of View Controllers; 2.17 Incorporating a Tab Bar into Your Application; 2.18 Pop Up Additional Information over iPad UI Elements;Chapter 3: Constructing and Using Table Views; 3.1 Introduction; 3.2 Creating a Table View Using Interface Builder; 3.


3 Creating a Table View Using Code; 3.4 Assigning an Event Handler to a Table View Using Interface Builder; 3.5 Assigning an Event Handler to a Table View Using Xcode; 3.6 Populating a Table View with Data; 3.7 Receiving and Handling Table View Events; 3.8 Using Different Types of Accessories in a Table View; 3.9 Creating Custom Table View Accessories; 3.10 Customizing the Appearance of a Table View''s Contents; 3.


11 Displaying Hierarchical Data; 3.12 Effectively Managing Memory with Table Views; 3.13 Editing and Moving Data in a Table View; 3.14 Enabling Swipe Deletion; 3.15 Grouping Data;Chapter 4: Core Location and Maps; 4.1 Introduction; 4.2 Creating a Map Using Interface Builder; 4.3 Creating a Map Using Code; 4.


4 Handling the Events of a Map; 4.5 Pinpointing a Device''s Location; 4.6 Displaying Built-in Pins on a Map View; 4.7 Displaying Pins with Different Colors on a Map View; 4.8 Creating and Displaying Custom Pins on a Map View; 4.9 Retrieving Meaningful Addresses Using Spatial Coordinates; 4.10 Retrieving Spatial Coordinates Using Meaningful Addresses;Chapter 5: Implementing Gesture Recognizers; 5.1 Introduction; 5.


2 Detecting Swipe Gestures; 5.3 Reacting to Rotation Gestures; 5.4 Detecting Panning and Dragging Gestures; 5.5 Detecting Long Press Gestures; 5.6 Responding to Tap Gestures; 5.7 Responding to Pinch Gestures;Chapter 6: Networking and XML; 6.1 Introduction; 6.2 Opening and Reading a Local XML File; 6.


3 Parsing an XML File into Objects; 6.4 Downloading Files Synchronously; 6.5 Downloading Files Asynchronously; 6.6 Reading and Parsing Remote XML Files; 6.7 Caching Files in Memory; 6.8 Caching Files on Disk;Chapter 7: Operations, Threads, and Timers; 7.1 Introduction; 7.2 Running Tasks Synchronously; 7.


3 Running Tasks Asynchronously; 7.4 Creating a Dependency Between Tasks; 7.5 Performing a Task After a Delay; 7.6 Performing Periodic Tasks; 7.7 Performing Periodic Tasks Efficiently; 7.8 Initializing Threads Implicitly; 7.9 Exiting Threads and Timers; 7.10 Avoiding Memory Leaks in Threads;Chapter 8: Audio and Video; 8.


1 Introduction; 8.2 Playing Audio Files; 8.3 Handling Interruptions While Playing Audio Files; 8.4 Recording Audio Files; 8.5 Handling Interruptions While Recording Audio Files; 8.6 Playing Audio over Other Sounds That Are Playing; 8.7 Playing Video Files; 8.8 Capturing Thumbnails from a Video File Asynchronously; 8.


9 Accessing the iPod Library in Response to a User Request;Chapter 9: Address Book; 9.1 Introduction; 9.2 Accessing the Address Book; 9.3 Retrieving All the People in the Address Book; 9.4 Retrieving Properties of Address Book Entries; 9.5 Inserting a Person Entry in the User''s Address Book; 9.6 Inserting a Group Entry in the User''s Address Book; 9.7 Adding Persons to Groups; 9.


8 Searching in the Address Book; 9.9 Retrieving and Setting a Person''s Address Book Image;Chapter 10: Camera and the Photo Library; 10.1 Introduction; 10.2 Detecting and Probing the Camera; 10.3 Taking Photos with the Camera; 10.4 Taking Videos with the Camera; 10.5 Storing Photos in the Photo Library; 10.6 Storing Videos in the Photo Library; 10.


7 Retrieving Photos and Videos from the Photo Library; 10.8 Retrieving Assets from the Assets Library; 10.9 Editing Videos on an iOS Device;Chapter 11: Multitasking; 11.1 Introduction; 11.2 Detecting the Availability of Multitasking; 11.3 Completing a Long-Running Task in the Background; 11.4 Receiving Local Notifications in the Background; 11.5 Playing Audio in the Background; 11.


6 Handling Location Changes in the Background; 11.7 Saving and Loading the State of a Multitasking iOS Application; 11.8 Handling Network Connections in the Background; 11.9 Handling Notifications Delivered to a Waking Application; 11.10 Handling Locale Changes in the Background; 11.11 Responding to Changes in an Application''s Settings; 11.12 Opting Out of Background Execution;Chapter 12: Core Data; 12.1 Introduction; 12.


2 Creating a Core Data Model with Xcode; 12.3 Creating and Using Core Data Model Classes; 12.4 Creating and Saving Data Using Core Data; 12.5 Loading Data Using Core Data; 12.6 Deleting Data Using Core Data; 12.7 Sorting Data Using Core Data; 12.8 Boosting Data Access in Table Views; 12.9 Implementing Relationships with Core Data;Chapter 13: Event Kit; 13.


1 Introduction; 13.2 Retrieving the List of Calendars; 13.3 Adding Events to Calendars; 13.4 Accessing the Contents of Calendars; 13.5 Removing Events from Calendars; 13.6 Adding Recurring Events to Calendars; 13.7 Retrieving the Attendees of an Event; 13.8 Adding Alarms to Calendars; 13.


9 Handling Event Changed Notifications; 13.10 Presenting Event View Controllers; 13.11 Presenting Event Edit View Controllers;Chapter 14: Graphics; 14.1 Introduction; 14.2 Drawing Basic Shapes on a Graphics Context; 14.3 Drawing Paths on a Graphics Context; 14.4 Drawing Images on a Graphics Context; 14.5 Capturing the Screen Contents into an Image; 14.


6 Drawing Text with Core Graphics;Chapter 15: Core Motion; 15.1 Introduction; 15.2 Detecting the Availability of an Accelerometer; 15.3 Detecting the Availability of a Gyroscope; 15.4 Retrieving Accelerometer Data; 15.5 Detecting a Shake on an iOS Device; 15.6 Retrieving Gyroscope Data;Colophon;.


To be able to view the table of contents for this publication then please subscribe by clicking the button below...
To be able to view the full description for this publication then please subscribe by clicking the button below...