Books & Videos

Table of Contents

  1. Chapter 1 The Basics

    1. Introduction

    2. Creating a Simple iOS App in Xcode

    3. Understanding Interface Builder

    4. Compiling iOS Apps

    5. Running iOS Apps on the Simulator

    6. Running iOS Apps on iOS Devices

    7. Packaging iOS Apps for Distribution

    8. Declaring Variables in Objective-C

    9. Allocating and Making Use of Strings

    10. Comparing Values in Objective-C with an If Statement

    11. Implementing Loops with For Statements

    12. Implementing While Loops

    13. Creating Custom Classes

    14. Defining Functionality for Classes

    15. Defining Two or More Methods with the Same Name

    16. Allocating and Initializing Objects

    17. Adding Properties to Classes

    18. Moving From Manual Reference Counting to Automatic Reference Counting

    19. Typecasting with Automatic Reference Counting

    20. Delegating Tasks with Protocols

    21. Determining Whether Instance or Class Methods Are Available

    22. Determining Whether a Class Is Available at Runtime

    23. Allocating and Making Use of Numbers

    24. Allocating and Making Use of Arrays

    25. Allocating and Making Use of Dictionaries

    26. Allocating and Making Use of Sets

    27. Creating Bundles

    28. Loading Data From the Main Bundle

    29. Loading Data From Other Bundles

    30. Sending Notifications with NSNotificationCenter

    31. Listening for Notifications Sent From NSNotificationCenter

  2. Chapter 2 Implementing Controllers and Views

    1. Introduction

    2. Displaying Alerts with UIAlertView

    3. Creating and Using Switches with UISwitch

    4. Picking Values with UIPickerView

    5. Picking the Date and Time with UIDatePicker

    6. Implementing Range Pickers with UISlider

    7. Grouping Compact Options with UISegmentedControl

    8. Presenting and Managing Views with UIViewController

    9. Implementing Navigation with UINavigationController

    10. Manipulating a Navigation Controller’s Array of View Controllers

    11. Displaying an Image on a Navigation Bar

    12. Adding Buttons to Navigation Bars Using UIBarButtonItem

    13. Presenting Multiple View Controllers with UITabBarController

    14. Displaying Static Text with UILabel

    15. Accepting User Text Input with UITextField

    16. Displaying Long Lines of Text with UITextView

    17. Adding Buttons to the User Interface with UIButton

    18. Displaying Images with UIImageView

    19. Creating Scrollable Content with UIScrollView

    20. Loading Web Pages with UIWebView

    21. Presenting Master-Detail Views with UISplitViewController

    22. Enabling Paging with UIPageViewController

    23. Displaying Popovers with UIPopoverController

    24. Displaying Progress with UIProgressView

    25. Listening and Reacting to Keyboard Notifications

  3. Chapter 3 Constructing and Using Table Views

    1. Introduction

    2. Instantiating a Table View

    3. Assigning a Delegate to a Table View

    4. Populating a Table View with Data

    5. Receiving and Handling Table View Events

    6. Using Different Types of Accessories in a Table View Cell

    7. Creating Custom Table View Cell Accessories

    8. Displaying Hierarchical Data in Table Views

    9. Enabling Swipe Deletion of Table View Cells

    10. Constructing Headers and Footers in Table Views

    11. Displaying Context Menus on Table Views Cells

    12. Moving Cells and Sections in Table Views

    13. Deleting Cells and Sections From Table Views

  4. Chapter 4 Storyboards

    1. Introduction

    2. Creating a Project with Storyboards

    3. Adding a Navigation Controller to a Storyboard

    4. Passing Data From One Screen to Another

    5. Adding a Storyboard to an Existing Project

  5. Chapter 5 Concurrency

    1. Introduction

    2. Constructing Block Objects

    3. Accessing Variables in Block Objects

    4. Invoking Block Objects

    5. Dispatching Tasks to Grand Central Dispatch

    6. Performing UI-Related Tasks with GCD

    7. Performing Non-UI Related Tasks Synchronously with GCD

    8. Performing Non-UI Related Tasks Asynchronously with GCD

    9. Performing Tasks After a Delay with GCD

    10. Performing a Task Only Once with GCD

    11. Grouping Tasks Together with GCD

    12. Constructing Your Own Dispatch Queues with GCD

    13. Running Tasks Synchronously with Operations

    14. Running Tasks Asynchronously with Operations

    15. Creating Dependency Between Operations

    16. Creating Timers

    17. Creating Concurrency with Threads

    18. Invoking Background Methods

    19. Exiting Threads and Timers

  6. Chapter 6 Core Location and Maps

    1. Introduction

    2. Creating a Map View

    3. Handling the Events of a Map View

    4. Pinpointing the Location of a Device

    5. Displaying Pins on a Map View

    6. Displaying Pins with Different Colors on a Map View

    7. Displaying Custom Pins on a Map View

    8. Converting Meaningful Addresses to Longitude and Latitude

    9. Converting Longitude and Latitude to a Meaningful Address

  7. Chapter 7 Implementing Gesture Recognizers

    1. Introduction

    2. Detecting Swipe Gestures

    3. Detecting Rotation Gestures

    4. Detecting Panning and Dragging Gestures

    5. Detecting Long Press Gestures

    6. Detecting Tap Gestures

    7. Detecting Pinch Gestures

  8. Chapter 8 Networking, JSON, XML, and Twitter

    1. Introduction

    2. Downloading Asynchronously with NSURLConnection

    3. Handling Timeouts in Asynchronous Connections

    4. Downloading Synchronously with NSURLConnection

    5. Modifying a URL Request with NSMutableURLRequest

    6. Sending HTTP GET Requests with NSURLConnection

    7. Sending HTTP POST Requests with NSURLConnection

    8. Sending HTTP DELETE Requests with NSURLConnection

    9. Sending HTTP PUT Requests with NSURLConnection

    10. Serializing Arrays and Dictionaries into JSON

    11. Deserializing JSON into Arrays and Dictionaries

    12. Integrating Twitter Functionality into Your Apps

    13. Parsing XML with NSXMLParser

  9. Chapter 9 Audio and Video

    1. Introduction

    2. Playing Audio Files

    3. Handling Interruptions While Playing Audio

    4. Recording Audio

    5. Handling Interruptions While Recording Audio

    6. Playing Audio Over Other Active Sounds

    7. Playing Video Files

    8. Capturing Thumbnails From a Video File

    9. Accessing the Music Library

  10. Chapter 10 Address Book

    1. Introduction

    2. Retrieving a Reference to an Address Book

    3. Retrieving All the People in the Address Book

    4. Retrieving Properties of Address Book Entries

    5. Inserting a Person Entry into the Address Book

    6. Inserting a Group Entry into the Address Book

    7. Adding Persons to Groups

    8. Searching the Address Book

    9. Retrieving and Setting a Person’s Address Book Image

  11. Chapter 11 Camera and the Photo Library

    1. Introduction

    2. Detecting and Probing the Camera

    3. Taking Photos with the Camera

    4. Taking Videos with the Camera

    5. Storing Photos in the Photo Library

    6. Storing Videos in the Photo Library

    7. Retrieving Photos and Videos From the Photo Library

    8. Retrieving Assets From the Assets Library

    9. Editing Videos on an iOS Device

  12. Chapter 12 Multitasking

    1. Introduction

    2. Detecting the Availability of Multitasking

    3. Completing a Long-Running Task in the Background

    4. Receiving Local Notifications in the Background

    5. Playing Audio in the Background

    6. Handling Location Changes in the Background

    7. Saving and Loading the State of Multitasking iOS Apps

    8. Handling Network Connections in the Background

    9. Handling Notifications Delivered to a Waking App

    10. Responding to Changes in App Settings

    11. Opting Out of Multitasking

  13. Chapter 13 Core Data

    1. Introduction

    2. Creating a Core Data Model with Xcode

    3. Generating Class Files for Core Data Entities

    4. Creating and Saving Data Using Core Data

    5. Reading Data From Core Data

    6. Deleting Data From Core Data

    7. Sorting Data in Core Data

    8. Boosting Data Access in Table Views

    9. Implementing Relationships in Core Data

  14. Chapter 14 Dates, Calendars, and Events

    1. Introduction

    2. Retrieving the List of Calendars

    3. Adding Events to Calendars

    4. Accessing the Contents of Calendars

    5. Removing Events From Calendars

    6. Adding Recurring Events to Calendars

    7. Retrieving the Attendees of an Event

    8. Adding Alarms to Calendars

    9. Handling Event Changed Notifications

    10. Presenting Event View Controllers

    11. Presenting Event Edit View Controllers

  15. Chapter 15 Graphics and Animations

    1. Introduction

    2. Enumerating and Loading Fonts

    3. Drawing Text

    4. Constructing, Setting, and Using Colors

    5. Drawing Images

    6. Drawing Lines

    7. Constructing Paths

    8. Drawing Rectangles

    9. Adding Shadows to Shapes

    10. Drawing Gradients

    11. Displacing Shapes Drawn on Graphic Contexts

    12. Scaling Shapes Drawn on Graphic Contexts

    13. Rotating Shapes Drawn on Graphic Contexts

    14. Animating and Moving Views

    15. Animating and Scaling Views

    16. Animating and Rotating Views

  16. Chapter 16 Core Motion

    1. Introduction

    2. Detecting the Availability of an Accelerometer

    3. Detecting the Availability of a Gyroscope

    4. Retrieving Accelerometer Data

    5. Detecting Shakes on an iOS Device

    6. Retrieving Gyroscope Data

  17. Chapter 17 iCloud

    1. Introduction

    2. Setting Up Your App for iCloud

    3. Storing and Synchronizing Dictionaries in iCloud

    4. Creating and Managing Folders for Apps in iCloud

    5. Searching for Files and Folders in iCloud

    6. Storing User Documents in iCloud

    7. Managing the State of Documents in iCloud

    8. Handling Conflicts in iCloud Documents

  1. Colophon