Table Views

Learn all about table views: one of the most common tools in iOS development. Display and manipulate data in customizable table views while practicing fundamental concepts used across iOS & UIKit. By Catie Catterwaul.

3.6 (28) · 5 Reviews

Download materials
Save for later
Comments
Share

Learning path

This is part of the iOS User Interfaces with UIKit learning path. View path.

Who is this for?

Beginner iOS developers with some UIKit experience. You should be comfortable with Auto Layout and intermediate Swift concepts. We recommend you follow along with learning path courses in order.

Covered concepts

  • Delegates & Data Sources
  • Diffable Data Sources
  • Hashable & Equatable
  • Cell Dequeuing
  • Cell Selection
  • Custom Prototype Cells
  • Static Cells
  • Headers & Footers
  • Adding/Deleting/Moving Rows

Part 1: Table View Fundamentals

01
Toggle description

In this introductory episode, find out a bit about table views, and what you can learn in this course.

Toggle description

Learn to set up your first table view controller and table view cell in this episode, all from a storyboard.

Toggle description

Find out what a UITableViewDataSource is, and why it is so important to your table view implementation.

Toggle description

Learn about how table views work behind the scenes as you scroll through them, and what dequeueing has to do with it.

Toggle description

There are many ways to navigate in an iOS app. See how to navigate from a table view, and pass data along.

Toggle description

When the data supporting your table view changes, how do you ensure the table view updates to reflect that change? By reloading the data.

Conclusion 0:33
Toggle description

Review what you learned in this part of the course about table view fundamentals, and see what's coming up next.

Part 2: Customizing Table Views

Toggle description

In this part of the course, you will focus on customizing the user interface of your table view with custom cells, headers, and static cells.

Toggle description

The four default cells aren't your only option! You can make custom table view cells right from the storyboard.

Toggle description

In this hands on challenge, test your auto layout and table view skills by building another custom cell and connecting it to your code.

Toggle description

Static Table Views are fantastic options for settings screens and forms in the world of iOS. Learn how to set one up in this episode.

Toggle description

In this next challenge, design one more static table view in your storyboard. Stick around to learn more about text fields!

Toggle description

There are a lot of options for displaying multiple sections in a table view when it comes to table view headers. Try a few out in this episode!

Conclusion 0:26
Toggle description

Review what you learned in this part of the course about customizing table view UI, and see what's coming up next.

Part 3: Managing Rows

Toggle description

Find out what the difference is between your two data source options for table views in this introduction.

Toggle description

Learn how to refactor your existing table view to use a diffable data source, without breaking your app!

Toggle description

In this episode, you'll see the diffable data source at work when you add and remove rows from your table view.

Move Rows 10:23
Toggle description

Moving rows around is also possible within a table view! Learn how in this challenging episode.

Conclusion 0:41
Toggle description

In this conclusion episode, review everything you accomplished in this course, and find out what you might learn next!

Up next

iOS & Swift
Collection Views
Learn all about using collection views in iOS to build composable and flexible layouts both in code and us... more

Instructors

Catie Catterwaul

Contributors

Catie Catterwaul

Instructor

Christine Sweigart

Editor

Adriana Kutenko

Illustrator

Over 300 content creators. Join our team.