Book Image

iOS 5 Essentials

By : Steven F. Daniel
Book Image

iOS 5 Essentials

By: Steven F. Daniel

Overview of this book

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.
Table of Contents (16 chapters)

Introduction to Instruments


The Instruments application is a powerful tool that enables you to collect information about the performance of your application over time. Through the use of the Instruments application, you can gather information based on a variety of different types of data, and view them side-by-side at the same time. This will therefore allow you to spot trends which would be hard to spot otherwise, and this can be used to see code running by your program along with the corresponding memory usage.

The Instruments application comes with a standard library, which you can use to examine various aspects of your code. You can configure Instruments to gather data about the same process or about different processes on the system.

Each instrument collects and displays different types of information relating to file access, memory usage, Network connections, and so on. The following screenshot shows the Instruments application profiling our MapKitExample, using a number of different...