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. Customizing the UISwitch

    5. Picking Values with UIPickerView

    6. Picking the Date and Time with UIDatePicker

    7. Implementing Range Pickers with UISlider

    8. Customizing the UISlider

    9. Grouping Compact Options with UISegmentedControl

    10. Customizing the UISegmentedControl

    11. Presenting and Managing Views with UIViewController

    12. Presenting Sharing Options with UIActivityViewController

    13. Implementing Navigation with UINavigationController

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

    15. Displaying an Image on a Navigation Bar

    16. Adding Buttons to Navigation Bars Using UIBarButtonItem

    17. Presenting Multiple View Controllers with UITabBarController

    18. Displaying Static Text with UILabel

    19. Customizing the UILabel

    20. Accepting User Text Input with UITextField

    21. Displaying Long Lines of Text with UITextView

    22. Adding Buttons to the User Interface with UIButton

    23. Displaying Images with UIImageView

    24. Creating Scrollable Content with UIScrollView

    25. Loading Web Pages with UIWebView

    26. Presenting Master-Detail Views with UISplitViewController

    27. Enabling Paging with UIPageViewController

    28. Displaying Popovers with UIPopoverController

    29. Displaying Progress with UIProgressView

    30. Listening and Reacting to Keyboard Notifications

    31. Constructing and Displaying Styled Texts

  3. Chapter 3 Auto Layout and the Visual Format Language

    1. Introduction

    2. Placing UI Components in the Center of the Screen

    3. Defining Horizontal and Vertical Constraints with the Visual Format Language

    4. Utilizing Cross View Constraints

    5. Configuring Auto Layout Constraints in Interface Builder

  4. Chapter 4 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 View Cells

    12. Moving Cells and Sections in Table Views

    13. Deleting Cells and Sections from Table Views

    14. Utilizing the UITableViewController for Easy Creation of Table Views

    15. Displaying a Refresh Control for Table Views

  5. Chapter 5 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

  6. Chapter 6 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. Executing Non-UI Related Tasks Synchronously with GCD

    8. Executing 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

  7. Chapter 7 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

  8. Chapter 8 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

  9. Chapter 9 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

  10. Chapter 10 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

  11. Chapter 11 Address Book

    1. Introduction

    2. Requesting Access to the Address Book

    3. Retrieving a Reference to an Address Book

    4. Retrieving All the People in the Address Book

    5. Retrieving Properties of Address Book Entries

    6. Inserting a Person Entry into the Address Book

    7. Inserting a Group Entry into the Address Book

    8. Adding Persons to Groups

    9. Searching the Address Book

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

  12. Chapter 12 Files and Folder Management

    1. Introduction

    2. Finding the Paths of the Most Useful Folders on Disk

    3. Writing to and Reading from Files

    4. Creating Folders on Disk

    5. Enumerating Files and Folders

    6. Deleting Files and Folders

    7. Securing Files on Disk

    8. Saving Objects to Files

  13. Chapter 13 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

  14. Chapter 14 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

  15. Chapter 15 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

  16. Chapter 16 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

  17. Chapter 17 Graphics and Animations

    1. Introduction

    2. Enumerating and Loading Fonts

    3. Drawing Text

    4. Constructing, Setting, and Using Colors

    5. Drawing Images

    6. Constructing Resizable Images

    7. Drawing Lines

    8. Constructing Paths

    9. Drawing Rectangles

    10. Adding Shadows to Shapes

    11. Drawing Gradients

    12. Displacing Shapes Drawn on Graphic Contexts

    13. Scaling Shapes Drawn on Graphic Contexts

    14. Rotating Shapes Drawn on Graphic Contexts

    15. Animating and Moving Views

    16. Animating and Scaling Views

    17. Animating and Rotating Views

  18. Chapter 18 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

  19. Chapter 19 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

  20. Chapter 20 Pass Kit

    1. Introduction

    2. Creating Pass Kit Certificates

    3. Creating Pass Files

    4. Providing Icons and Images for Passes

    5. Preparing Your Passes for Digital Signature

    6. Signing Passes Digitally

    7. Distributing Passes Using Email

    8. Distributing Passes Using Web Services

    9. Enabling Your iOS Apps to Access Passes on iOS Devices

    10. Interacting with Passbook Programmatically

  1. Colophon