The first tutorial, Gesture Recognizers, will teach you how to implement gesture recognizers in your apps. It starts with a review of touch event handling, describes iOS’s abstract base class gesture recognizer (UIGestureRecognizer), and explores iOS’s six concrete gesture recognizer subclasses (UITapGestureRecognizer, UIPinchGestureRecognizer, UIRotationGestureRecognizer, UISwipeGestureRecognizer, UIPanGestureRecognizer, and UILongPressGestureRecognizer). It then discusses how to coordinate gesture recognizers with traditional touch event handlers, how to implement action methods for gesture recognizers, and how to implement dependent and simultaneous gesture recognizers. The tutorial includes the code for a sample app and a link to the sample app Xcode project, which illustrates the subjects discussed in the tutorial.
The second tutorial, Table Views, will teach you how to create table views. It discusses the UITableViewDataSource and UITableViewDelegate protocols; table view styles; table view cells, including the standard cells, accessory views, customized cells, and UITableViewCell subclasses; modification of table views, including editing table views, deleting rows, adding rows, and editing cells; the UITableViewController class; searching table views; and indexing table views. The tutorial includes the code for a sample app and a link to the sample app Xcode project, which illustrates the subjects discussed in the tutorial.
The third tutorial, Navigation Controllers, will teach you how to implement a navigation controller in your iPhone® or iPad® app. It explains how to display a view controller’s view inside a navigation controller; how to make the status bar, navigation bar, and toolbar translucent and expand the underlying view to fill the screen; how to transition from one level of detail to another; how to deal with memory warnings; and how to implement navigation bars and toolbars with titles, prompts, buttons, images, and views. The tutorial includes the code for a sample app and a link to the sample app Xcode project, which illustrates the subjects discussed in the tutorial.
The fourth tutorials, Tab Bar Controllers, will teach you how to manage multiple view controllers and their views using a tab bar controller. It shows how to create tab bar items using either the system icons like Bookmarks and Contacts or custom icons based on your own images. It demonstrates how to implement different images in a tab depending on whether the tab is selected. It teaches how to add and remove tabs dynamically and how to regulate the user’s ability to rearrange tabs in the tab bar. Finally, it shows how to add red, circular “badges” to the upper, right corners of tabs. The tutorial includes the code for a sample app and a link to the sample app Xcode project, which illustrates the subjects discussed in the tutorial.
The fifth tutorial, Directories and Files, explains the app “sandbox” and the standard sandbox directories—the application bundle and the Documents, Library, and tmp directories. It teaches you how to create and delete directories; access a directory’s contents; access a directory’s or file’s attributes; and create, write, read, delete, copy, and move files. Finally, it explains the workings of a NSFileManagerDelegate.
The sixth tutorial, iCloud, will teach you how to set up your app to use iCloud to store app data. It describes how to obtain a provisioning profile and iCloud entitlements. It explains Grand Central Dispatch, NSMetadataQuery objects, and notifications. It describes the requirements for subclassing the UIDocument class and explains how to create, write to, read from, copy, move, and delete iCloud files and how to monitor iCloud directories. It demonstrates how to save and access key-value pairs in iCloud, explains how to avoid conflicts between versions of the same iCloud file, and discusses iCloud app debugging and design.
Each tutorial includes the code for a sample app.
The second tutorial, Table Views, will teach you how to create table views. It discusses the UITableViewDataSource and UITableViewDelegate protocols; table view styles; table view cells, including the standard cells, accessory views, customized cells, and UITableViewCell subclasses; modification of table views, including editing table views, deleting rows, adding rows, and editing cells; the UITableViewController class; searching table views; and indexing table views. The tutorial includes the code for a sample app and a link to the sample app Xcode project, which illustrates the subjects discussed in the tutorial.
The third tutorial, Navigation Controllers, will teach you how to implement a navigation controller in your iPhone® or iPad® app. It explains how to display a view controller’s view inside a navigation controller; how to make the status bar, navigation bar, and toolbar translucent and expand the underlying view to fill the screen; how to transition from one level of detail to another; how to deal with memory warnings; and how to implement navigation bars and toolbars with titles, prompts, buttons, images, and views. The tutorial includes the code for a sample app and a link to the sample app Xcode project, which illustrates the subjects discussed in the tutorial.
The fourth tutorials, Tab Bar Controllers, will teach you how to manage multiple view controllers and their views using a tab bar controller. It shows how to create tab bar items using either the system icons like Bookmarks and Contacts or custom icons based on your own images. It demonstrates how to implement different images in a tab depending on whether the tab is selected. It teaches how to add and remove tabs dynamically and how to regulate the user’s ability to rearrange tabs in the tab bar. Finally, it shows how to add red, circular “badges” to the upper, right corners of tabs. The tutorial includes the code for a sample app and a link to the sample app Xcode project, which illustrates the subjects discussed in the tutorial.
The fifth tutorial, Directories and Files, explains the app “sandbox” and the standard sandbox directories—the application bundle and the Documents, Library, and tmp directories. It teaches you how to create and delete directories; access a directory’s contents; access a directory’s or file’s attributes; and create, write, read, delete, copy, and move files. Finally, it explains the workings of a NSFileManagerDelegate.
The sixth tutorial, iCloud, will teach you how to set up your app to use iCloud to store app data. It describes how to obtain a provisioning profile and iCloud entitlements. It explains Grand Central Dispatch, NSMetadataQuery objects, and notifications. It describes the requirements for subclassing the UIDocument class and explains how to create, write to, read from, copy, move, and delete iCloud files and how to monitor iCloud directories. It demonstrates how to save and access key-value pairs in iCloud, explains how to avoid conflicts between versions of the same iCloud file, and discusses iCloud app debugging and design.
Each tutorial includes the code for a sample app.