Download - UITableView Training Presentation Slides
![Page 1: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/1.jpg)
UITableView
Richard Wollack
![Page 2: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/2.jpg)
Overview
• What is a UITableView– Different Styles
• MVC and TableViews• Apple Documentation– Delegates– Required Methods
• Coding• Troubleshooting• UITableview Demo
![Page 3: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/3.jpg)
What is UITableView?• An instance of UITableView (or simply, a table
view) is a means for displaying and editing hierarchical lists of information.
![Page 4: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/4.jpg)
Different Styles
![Page 5: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/5.jpg)
Cells
WWDC Video Slides
![Page 6: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/6.jpg)
A TableView is a view, that’s it!
![Page 7: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/7.jpg)
![Page 8: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/8.jpg)
![Page 9: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/9.jpg)
Lets Code!
![Page 10: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/10.jpg)
Some Common Mistakes
• Where’s my data?
![Page 11: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/11.jpg)
Solution
![Page 12: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/12.jpg)
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.
![Page 13: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/13.jpg)
Create a new class that subclasses NSObject
![Page 14: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/14.jpg)
Change the type of class to UITableViewController
![Page 15: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/15.jpg)
Code for the TableViewController subclass
![Page 16: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/16.jpg)
Code from the AppDelegate
![Page 17: UITableView Training Presentation Slides](https://reader036.vdocuments.mx/reader036/viewer/2022062511/54b75f834a7959b0558b456f/html5/thumbnails/17.jpg)
The Demo