UITableView
Richard Wollack
Overview
• What is a UITableView– Different Styles
• MVC and TableViews• Apple Documentation– Delegates– Required Methods
• Coding• Troubleshooting• UITableview Demo
What is UITableView?• An instance of UITableView (or simply, a table
view) is a means for displaying and editing hierarchical lists of information.
Different Styles
Cells
WWDC Video Slides
A TableView is a view, that’s it!
Lets Code!
Some Common Mistakes
• Where’s my data?
Solution
Wrapping Up
• TableViews are very important to learn for all different types of apps.
• KISS– Start Simple and add complexity.
• Code, Code, Code• Apple Documentation & WWDC Videos are
the best references.
Create a new class that subclasses NSObject
Change the type of class to UITableViewController
Code for the TableViewController subclass
Code from the AppDelegate
The Demo
Recommended