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)

Summary


In this chapter, we learned about the differences between vertex shaders and fragment shaders, and their relation to one another. We then looked at the new debugging features of OpenGL ES, and how this new debugger in Xcode allows you to track down issues specific to OpenGL ES within your code, right within the Xcode IDE.

We familiarized ourselves with the OpenGL ES frame capture tool, its ability to stop execution of a program, and grab the current frame contents that are being rendered on the iOS device. This is so that we are able to easily track-down and correct program issues, by taking a closer look at the program state information of objects, by scrolling through the debug navigator stack trace, as well as the ability to see all of the textures and shaders currently being used by the application.

We also learned about the OpenGL ES glGetError method call, and how we can use this to provide us with a list of errors that have been detected. To end the chapter, we looked at how...