Pro iOS Table Views [electronic resource] : for iPhone, iPad, and iPod touch /
Duckett, Tim.author.
If you’re an iOS app developer, chances are you’ll be using table views in your development projects. Table views are the bread and butter of iOS apps. With them, you can create everything from the simplest of lists to fully tricked-out user interfaces. Table views are also one of the most complex components found in UIKit. While using them for boring standard user interfaces is quite simple, customizing them can become really challenging. Pro iOS Table Views takes a task-oriented focus to assist you when implementing customized table views. Although it delves deeply into the Table View API, you can always decide in which level of detail you want to dive in. It’s aimed to be a great reference and customization cookbook at the same time, useful for beginners as well as intermediate developers. Covers the entire Table View API in depth Covers customization and performance topics in depth Task-oriented reference with multiple levels of detail Note: source code for this title is currently available for download at: https://github.com/timd/Pro-iOS-TableViews.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; What This Book Covers; The Style of This Book; The Book's Source Code; Where to Find Out More; Contacting the Author; Chapter 1 Table Views from the Ground Up; What Are Table Views?; The Anatomy of a Table View; Creating a Simple Table View App; Creating the Application Skeleton; Generating Some Data; Creating the Table View; Conforming to the Table View Protocols; Wiring Up the Data Source and Delegate; Displaying the Data
numberOfSectionsInTableView:tableView:numberOfRowsInSection:; tableView:cellForRowAtIndexPath:; Adding Some Interactivity; tableView:didSelectRowAtIndexPath:; Understanding How the App's Objects Fit Together; Summary; Chapter 2 How the Table Fits Together; Understanding Table Views; Working with the UITableView Family; The UITableView Class Hierarchy; Choosing the Type of Table View; The Plain Table; The Indexed Table; The Sectioned Table; The Grouped Table; Setting TableView Dimensions; Controlling the Background of a UITableView; What UITableView Inherits from UIScrollView
Creating UITableViewsCreating a UITableView in Interface Builder; Placing a UITableView into Another View; Placing a Full-Screen UITableView; Creating a UITableView Programmatically; Creating a UITableView with UITableViewController; Summary; Chapter 3 Feeding Data to Your Tables; UITableView and Delegation; Understanding Delegation; tableView:didSelectRowAtIndexPath; tableView:cellForRowAtIndexPath; Setting Delegates; Wiring Up an Object with a Delegate; Defining Protocols; Using UITableView's Delegate Methods; Using UITableViewDelegate Methods; Data Sources
The Key Information Required By a UITableViewGetting the Number of Sections in the Table; Getting the Number of Rows in the Section; Getting Cells That Belong in This Row of This Section; How the Key Information Is Obtained by the Table; Cell, Section, and Row-Related UITableViewDataSource Methods; Title and Index-Related UITableViewDataSource Methods; Insertion, Removal, and Reordering-Related UITableViewDataSource Methods; The Thing to Bear in Mind About dataSource Methods; All About indexPaths; The Model-View-Controller Design Pattern; Why Use the Model-View-Controller Pattern?
MVC and iOSMVC and tableViews; Summary; Chapter 4 How the Cell Fits Together; Understanding the Anatomy of a UITableViewCell; Basic Structure of the Cell; Content and Accessory Views; Working with Standard Cell Types; Using UITableViewCellStyleDefault; Using UITableViewCellStyleValue1; Using UITableViewCellStyleValue2; Using UITableViewCellStyleSubtitle; Selecting a Default Style; Configuring the Default Cell's Content; textLabel; detailTextLabel; imageView; contentView; Formatting Text in Default Cell Types; Working with Accessory Views; Using UITableViewCellAccessoryDisclosureIndicator
Using UITableViewCellAccessoryDetailDisclosureIndicator
Includes index.
If you’re an iOS app developer, chances are you’ll be using table views in your development projects. Table views are the bread and butter of iOS apps. With them, you can create everything from the simplest of lists to fully tricked-out user interfaces. Table views are also one of the most complex components found in UIKit. While using them for boring standard user interfaces is quite simple, customizing them can become really challenging. Pro iOS Table Views takes a task-oriented focus to assist you when implementing customized table views. Although it delves deeply into the Table View API, you can always decide in which level of detail you want to dive in. It’s aimed to be a great reference and customization cookbook at the same time, useful for beginners as well as intermediate developers. Covers the entire Table View API in depth Covers customization and performance topics in depth Task-oriented reference with multiple levels of detail Note: source code for this title is currently available for download at: https://github.com/timd/Pro-iOS-TableViews.
iOS (Electronic resource)
Apple computer.
Application software.
Apple and iOS.
Computer Applications.