This volume includes the first six tutorials in the Programming iOS series. The individual tutorials are available for purchase singly on Amazon.com in case you do not need all six.
The first tutorial, "Getting Started," describes what you need to get started writing apps for the iPhone, iPod touch, and iPad. It specifies the hardware you need and tells how to obtain copies of Xcode, Apple’s development software, and of the iOS SDK. It explains how to obtain an iOS Development Certificate and how to register your iOS devices so that you can test your apps on actual devices. Finally, it demonstrates how to build and run a simple app using these tools.
In the second, "The Application Life Cycle," you will step through the life of a simple app, learn the states an app enters and leaves during its life cycle, learn the UIApplicationDelegate methods that iOS calls at each transition, and learn what code you need to write in order to facilitate the app’s smooth transition from state to state. Finally, you will learn how to code your app to function in the iOS multitasking environment.
The third, "Views," provides an overview of views, which are members or descendants of the UIView class. The tutorial introduces you to superviews and subviews, touches, view controllers, the view drawing cycle, content modes, view geometry, affine transforms, UIView properties, arranging subviews, and runtime changes to views.
The fourth, "View Controllers," will teach you how to subclass the UIViewController class to create your own view controllers. You will learn how to structure a view controller to conform to the Model-View-Controller design pattern. You will learn about the UIViewController methods that you can override in order to make your view controller function the way you want. This tutorial explains how to respond to memory warnings, and introduces you to methods for responding to changes in an iOS device’s orientation.
The fifth, "UIView Animations and View Transitions," will teach you how to use the UIView class animation methods to create sophisticated animations. It will also teach you how to use the UIView class methods for transitioning from one configuration of subviews to a different configuration of subviews.
The sixth, "Handling Device Rotation," will teach you how to structure your app so that it responds appropriately when the user rotates the device on which the app is running. It explains three techniques that you can use to respond to device rotation: (1) autoresizing, (2) programmatically rearranging subviews, and (3) changing the displayed view.
Each tutorial includes one or more apps that illustrate points made in the tutorial. The full source code is provided.
The first tutorial, "Getting Started," describes what you need to get started writing apps for the iPhone, iPod touch, and iPad. It specifies the hardware you need and tells how to obtain copies of Xcode, Apple’s development software, and of the iOS SDK. It explains how to obtain an iOS Development Certificate and how to register your iOS devices so that you can test your apps on actual devices. Finally, it demonstrates how to build and run a simple app using these tools.
In the second, "The Application Life Cycle," you will step through the life of a simple app, learn the states an app enters and leaves during its life cycle, learn the UIApplicationDelegate methods that iOS calls at each transition, and learn what code you need to write in order to facilitate the app’s smooth transition from state to state. Finally, you will learn how to code your app to function in the iOS multitasking environment.
The third, "Views," provides an overview of views, which are members or descendants of the UIView class. The tutorial introduces you to superviews and subviews, touches, view controllers, the view drawing cycle, content modes, view geometry, affine transforms, UIView properties, arranging subviews, and runtime changes to views.
The fourth, "View Controllers," will teach you how to subclass the UIViewController class to create your own view controllers. You will learn how to structure a view controller to conform to the Model-View-Controller design pattern. You will learn about the UIViewController methods that you can override in order to make your view controller function the way you want. This tutorial explains how to respond to memory warnings, and introduces you to methods for responding to changes in an iOS device’s orientation.
The fifth, "UIView Animations and View Transitions," will teach you how to use the UIView class animation methods to create sophisticated animations. It will also teach you how to use the UIView class methods for transitioning from one configuration of subviews to a different configuration of subviews.
The sixth, "Handling Device Rotation," will teach you how to structure your app so that it responds appropriately when the user rotates the device on which the app is running. It explains three techniques that you can use to respond to device rotation: (1) autoresizing, (2) programmatically rearranging subviews, and (3) changing the displayed view.
Each tutorial includes one or more apps that illustrate points made in the tutorial. The full source code is provided.