iOS 5 Essentials

iOS 5 Essentials
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Integrate iCloud, Twitter and AirPlay into your applications.
  • Lots of step-by-step examples, images and diagrams to get you up to speed in no time with helpful hints along the way.
  • Each chapter explains iOS 5’s new features in-depth, whilst providing you with enough practical examples to help incorporate these features in your apps
  • From the author of Xcode 4 iOS development.

Book Details

Language : English
Paperback : 252 pages [ 235mm x 191mm ]
Release Date : January 2012
ISBN : 1849692262
ISBN 13 : 9781849692267
Author(s) : Steven F Daniel
Topics and Technologies : All Books, Mobile Application Development, iOS, Mobile

Table of Contents

Chapter 1: What's New in iOS5
Chapter 2: Using iCloud and the Storage APIs
Chapter 3: Debugging with OpenGL ES
Chapter 4: Using Storyboards
Chapter 5: Using AirPlay and Core Image
Chapter 6: Xcode Tools - Improvements
Chapter 7: Making your Applications Run Smoothly using Instruments
  • Chapter 1: What's New in iOS5
    • What's new in iOS 5
      • Reminders
      • Notification Center
      • Newsstand
    • Getting and installing the iOS 5 SDK
    • Creating the MyMagazineArticle application
      • Adding the Newsstand Kit framework to our project
        • Adding properties to our application
    • Creating the MyEmailApp application
      • Adding the MessageUI framework to our project
      • Building TheMyEmailApp user interface
        • Auto-populating fields
    • Building and running the MyEmailApp application
      • iMessage
      • iPhone Camera
      • PC Free
      • Wi-Fi sync
      • Multitasking gestures
      • Removing the Xcode developer tools
    • Summary
    • Chapter 2: Using iCloud and the Storage APIs
      • Comparing Apple iCloud and Google Docs
      • Storing and using documents in iCloud
        • Storing key-value data in iCloud
        • Requesting entitlements for iCloud storage
        • iCloud backup
          • Creating the iCloudExample application
        • Moving a document to iCloud storage
        • iCloud storage APIs
        • Searching for documents in iCloud
        • Working with documents in iCloud
          • The file coordinator
          • The file presenter
        • Handling file-version conflicts
        • Using iCloud storage responsibly
      • Summary
      • Chapter 3: Debugging with OpenGL ES
        • Understanding the new workflow feature within Xcode
          • Creating a simple project to debug an OpenGL ES application
          • Detecting OpenGL ES state information and objects
            • View textures
            • Shaders
        • Error handling in OpenGL ES
          • Detecting errors by setting up breakpoints
          • Setting up breakpoints in your code
          • Setting conditional OpenGL ES entry point breakpoints
          • Breaking on frame boundaries
        • Summary
        • Chapter 4: Using Storyboards
          • Understanding Storyboards
            • Transitions
            • How to go about creating Storyboard files
            • Creating a simple Storyboard (Twitter) application
            • Creating scenes
            • Configuring scenes
            • Building a Twitter application
            • Composing a Tweet message
            • Adding photos to a Tweet
            • Preparing to transition to a new view-controller
            • Presenting storyboard view-controllers programmatically
          • Summary
          • Chapter 5: Using AirPlay and Core Image
            • Understanding the AirPlay framework
              • Creating a simple AirPlay application
              • Using AirPlay to present application content to Apple TV
              • Understanding the Core Image framework
              • Creating a simple Core Image application
              • Learn how to apply image filter effects using the CIImage class
                • Color effects
                • Transitions
            • Summary
            • Chapter 6: Xcode Tools - Improvements
              • LLVM compiler
                • Automatic Reference Counting (ARC)
                  • Strong references
                  • Weak references
                  • ARC qualifiers – regular variables
                  • Variable qualifiers
                • Interface builder
                  • Support for creating storyboard files for iOS applications
                • Location simulator
                  • Creating a simple geographical application
                • OpenGL ES debugging
                • OpenGL ES frame capture
                • Application data management
                • UI automation enhancements
                  • Preparing your application
                  • Creating a simple UIAutomation application
                • Writing the UIAutomation test script
                • Running your tests
              • Summary
              • Chapter 7: Making your Applications Run Smoothly using Instruments
                • Introduction to Instruments
                  • Tracing iOS applications
                  • Loading the MapKitExample project
                    • Running and profiling the project
                  • VM faults
                  • Memory leaks
                  • Run-time errors
                  • Compile-time errors
                • Adding and configuring Instruments
                  • Using the Instruments library
                  • Locating an Instrument within the Library
                  • Adding and removing instruments
                  • Configuring an instrument
                  • Other components of the Instruments family explained
                • What's new in Instruments
                  • Time Profiler with CPU strategy
                  • System Trace for iOS
                  • Network Connections
                  • Network activity
                • Summary

                Steven F Daniel

                Steven F. Daniel is originally from London, England, but lives in Australia. He is the owner and founder of GENIESOFT STUDIOS (, a software development company based in Melbourne, Victoria, that currently develops games and business applications for the iOS, Android, and Windows platforms. Steven is an experienced software developer with more than 13 years of experience developing desktop and web-based applications for a number of companies including, insurance, banking and finance, oil and gas, and local and state government. Steven is always interested in emerging technologies, and is a member of the SQL Server Special Interest Group (SQLSIG) and the Java Community. He has been the co-founder and Chief Technology Officer (CTO) of SoftMpire Pty Ltd., a company that focused primarily on developing business applications for the iOS and Android platforms. He is the author of Xcode 4 iOS Development Beginner's Guide, iOS 5 Essentials, and iPad Enterprise Application Development Blueprints. You can check out his blog at, or follow him on twitter at
                Sorry, we don't have any reviews for this title yet.

                Code Downloads

                Download the code and support files for this book.

                Submit Errata

                Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                Sample chapters

                You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                Frequently bought together

                iOS 5 Essentials +    Liferay User Interface Development =
                50% Off
                the second eBook
                Price for both: $36.00

                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                What you will learn from this book

                • Write applications that have the ability to store user documents wirelessly.
                • Push changes to all devices and computers at the same time, using the iCloud Storage APIs.
                • Integrate and Tweet directly from your applications using the new Tweet sheet.
                • Include your current location and host photos on Twitter by using the Twitter Framework APIs.
                • Learn how to use the AirPlay feature to wirelessly stream videos to Apple TV.
                • Learn how to use the Core Image Framework to create amazing image effects to enhance photos and videos.
                • Understand how to debug OpenGL ES applications using Xcode 4.
                • Learn how to use instruments to make your applications run smoothly.

                In Detail

                Building on the phenomenal success of its predecessor iOS 5 includes over 200 new user features as well as an updated SDK containing over 1,500 new APIs. iOS 5 looks set to reinforce the iPhone’s dominance in the smartphone market.

                iOS 5 Essentials will help you learn how to build simple, yet powerful iOS 5 applications incorporating iCloud Storage, Twitter, Core Image and Newsstand integration.

                You will start by learning about what’s new in iOS 5. You'll look at the iCloud Storage APIs, Automatic Reference Counting, Twitter and AirPlay integration, how to use the various Core Image filters using the Cocoa framework, and the new features of the iOS 5 SDK. After this, you'll jump straight in and create applications using Xcode and Interface Builder using the new storyboard layout. We then finish up by learning how to make your applications run smoothly using the Xcode instruments.


                Each chapter will take you through a new major feature of iOS 5. You will learn how to integrate each feature into your applications.

                Who this book is for

                If you ever wanted to learn about the latest features of iOS 5 and learn how to incorporate Twitter, iCloud and Core Image framework effects functionality into your applications, then this book is for you. You should have a good knowledge of programming experience with Objective-C, and have used Xcode 4. iPhone programming experience is not required.

                Code Download and Errata
                Packt Anytime, Anywhere
                Register Books
                Print Upgrades
                eBook Downloads
                Video Support
                Contact Us
                Awards Voting Nominations Previous Winners
                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software