Table views can quickly slow down your applications if you have too many rows. To improve performance, you need to recycle table view cells. See how that works in this iOS 10 tutorial.
- [Narrator] While the code we wrote already is fine…and will work for the application that we're creating,…if you're going to release an app in the App Store…that has a UITableView,…you need to make sure that you use…your table view cells a little bit differently…than what we've been doing.…Apple actually recommends recycling table view cells.…So let's look at how that works.…The first step is to go over to your storyboard…and then select your table view.…With your table view selected,…head over to the attributes inspector…which is that button that looks…like a little ticker on a slider.…
You should see Table View at the top…of the attributes inspector…and then the contents should be dynamic prototypes.…If you don't see that, just change it…with the drop-down.…In prototype cells, click the up arrow…to change it from zero to one,…and then we see a prototype cell appear…in the table view.…Now we need to select the prototype cell.…You can do that by simply clicking on it…with the table view selected,…and you should see table view cell…
In this course, join Todd Perkins as he takes you through how to create cross-platform apps using Swift. This course is one of three related courses designed to help you discover the similarities and differences that exist between the platforms used by three main devices: an Android phone, an iPhone, and a Windows phone. These courses use the same assets to create the same note-taking app so that you can identify and experience the complementary and contrasting development steps.
- Downloading Xcode
- Configuring preferences in Xcode
- Building the app interface
- Connecting interface elements to code
- Writing app logic
Skill Level Intermediate
Building a Note-Taking App for Androidwith David Gassner2h 38m Intermediate
Converting iOS 9 Apps into Apple TV Appswith Yohann Taieb2h 2m Intermediate
1. Project Overview
A demo of the finished app1m 19s
2. Understanding iOS Specifics
3. Get Started
4. Create the Table and a Data Source
5. Edit and Save Data
6. Work with Multiple View Controllers
Next steps2m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.