Beginning iOS 5 Development [electronic resource] : Exploring the iOS SDK /
Mark, David.author.
Nutting, Jack.author.
LaMarche, Jeff.author.
The team that brought you the bestselling Beginning iPhone 4 Development is back again for Beginning iOS 5 Development, bringing this definitive guide up-to-date with Apple's latest and greatest iOS SDK, as well as with the latest version of Xcode.  There's coverage of brand new technologies, with chapters on storyboards and iCloud, for example, as well as significant updates to existing chapters to bring them in line with all the changes that came with the iOS 5 SDK. You'll have everything you need to create your very own apps for the latest iOS devices, including the iPhone 4S, iPad 2, and the latest iPod touch. Every single sample program in the book has been rebuilt from scratch using Xcode 4.2 and the latest iOS 5-specific project templates and designed to take advantage of the latest Xcode features. Assuming only a minimal working knowledge of Objective-C, and written in a friendly, easy-to-follow style, Beginning iOS 5 Development offers a complete soup-to-nuts course in iPhone, iPad, and iPod touch programming. The book starts with the basics, walking through the process of downloading and installing Xcode and the iOS 5 SDK, and then guides you though the creation of your first simple application. From there, you'll learn how to integrate all the interface elements Apple touch users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. You'll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The confusing art of table building will be demystified, and you'll learn how to save your data using the iPhone file system. You'll also learn how to save and retrieve your data using a variety of persistence techniques, including Core Data and SQLite. And there's much more! You'll learn to draw using Quartz 2D and OpenGL ES, add multitouch gestural support (pinches and swipes) to your applications, and work with the camera, photo library, accelerometer, and built-in GPS. You'll discover the fine points of application preferences and learn how to localize your apps for multiple languages. The iOS 5 update to the bestselling and most recommended book for Cocoa touch developers Packed full of tricks, techniques, and enthusiasm for the new SDK from a developer perspective Written in an accessible, easy-to-follow style.
Title Pae; Copyright Page; Contents at a Glance; Table of Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Preface; Chapter 1 Welcome to the Jungle; What This Book Is; What You Need; Developer Options; What You Need to Know; What's Different About Coding for iOS?; Only One Active Application; Only One Window; Limited Access; Limited Response Time; Limited Screen Size; Limited System Resources; No Garbage Collection, but...; Some New Stuff; A Different Approach; What's in This Book; What's New in This Update?; Are You Ready?; Chapter 2 Appeasing the Tiki Gods
Setting Up Your Project in XcodeThe Xcode Workspace Window; The Toolbar; The Navigator View; The Jump Bar; The Utility Pane; Interface Builder; New Compiler and Debugger; A Closer Look at Our Project; Introducing Xcode's Interface Builder; What's in the Nib File?; The Library; Adding a Label to the View; Changing Attributes; Some iPhone Polish-Finishing Touches; Bring It on Home; Chapter 3 Handling Basic Interaction; The Model-View-Controller Paradigm; Creating Our Project; Looking at the View Controller; Understanding Outlets and Actions; Outlets; Actions; Cleaning Up the View Controller
Designing the User InterfaceAdding the Buttons and Action Method; Adding the Label and Outlet; Writing the Action Method; Trying It Out; Looking at the Application Delegate; Bring It on Home; Chapter 4 More User Interface Fun; A Screen Full of Controls; Active, Static, and Passive Controls; Creating the Application; Implementing the Image View and Text Fields; Adding the Image View; Resizing the Image View; Setting View Attributes; The Mode Attribute; Tag; Interaction Checkboxes; The Alpha Value; Background; Drawing Checkboxes; Stretching; Adding the Text Fields; Text Field Inspector Settings
Setting the Attributes for the Second Text FieldCreating and Connecting Outlets; Closing the Keyboard; Closing the Keyboard When Done Is Tapped; Touching the Background to Close the Keyboard; Adding the Slider and Label; Creating and Connecting the Actions and Outlets; Implementing the Action Method; Implementing the Switches, Button, and Segmented Control; Adding Two Labeled Switches; Connecting and Creating Outlets and Actions; Implementing the Switch Actions; Adding the Button; Connecting and Creating the Button Outlets and Actions; Implementing the Segmented Control Action
Implementing the Action Sheet and AlertConforming to the Action Sheet Delegate Method; Showing the Action Sheet; Spiffing Up the Button; Using the viewDidLoad Method; Control States; Stretchable Images; Crossing the Finish Line; Chapter 5 Autorotation and Autosizing; The Mechanics of Autorotation; Points, Pixels, and the Retina Display; Autorotation Approaches; Handling Rotation Using Autosize Attributes; Configuring Supported Orientations; Specifying Rotation Support; Designing an Interface with Autosize Attributes; Using the Size Inspector's Autosize Attributes
Setting the Buttons' Autosize Attributes
Includes index.
Includes index.
The team that brought you the bestselling Beginning iPhone 4 Development is back again for Beginning iOS 5 Development, bringing this definitive guide up-to-date with Apple's latest and greatest iOS SDK, as well as with the latest version of Xcode.  There's coverage of brand new technologies, with chapters on storyboards and iCloud, for example, as well as significant updates to existing chapters to bring them in line with all the changes that came with the iOS 5 SDK. You'll have everything you need to create your very own apps for the latest iOS devices, including the iPhone 4S, iPad 2, and the latest iPod touch. Every single sample program in the book has been rebuilt from scratch using Xcode 4.2 and the latest iOS 5-specific project templates and designed to take advantage of the latest Xcode features. Assuming only a minimal working knowledge of Objective-C, and written in a friendly, easy-to-follow style, Beginning iOS 5 Development offers a complete soup-to-nuts course in iPhone, iPad, and iPod touch programming. The book starts with the basics, walking through the process of downloading and installing Xcode and the iOS 5 SDK, and then guides you though the creation of your first simple application. From there, you'll learn how to integrate all the interface elements Apple touch users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. You'll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The confusing art of table building will be demystified, and you'll learn how to save your data using the iPhone file system. You'll also learn how to save and retrieve your data using a variety of persistence techniques, including Core Data and SQLite. And there's much more! You'll learn to draw using Quartz 2D and OpenGL ES, add multitouch gestural support (pinches and swipes) to your applications, and work with the camera, photo library, accelerometer, and built-in GPS. You'll discover the fine points of application preferences and learn how to localize your apps for multiple languages. The iOS 5 update to the bestselling and most recommended book for Cocoa touch developers Packed full of tricks, techniques, and enthusiasm for the new SDK from a developer perspective Written in an accessible, easy-to-follow style.
Apple computer.
Application software.
Apple and iOS.
Computer Applications.