Most apps need a more complex system of handling data than just hard coding everything. This video shows how to populate a table with data from an array.
- [Instructor] Now let's look at…putting data inside of our table view.…If you look at the document outline…you can see that we have a Table View Controller,…which contains a Table View,…and if you expand the Table View,…you can see a Table View Cell.…The Table View Cell is this object right here.…It serves as a prototype…for the table view cells in the table view.…In other words, you can customize it…by placing custom user interface objects,…connecting them to a custom class, et cetera,…and that's how they will appear inside of your application.…
The first step in using these cells…is to give them a specific identifier.…So, with the Table View Cell selected,…again it's easiest to do in the document outline,…just highlight it right there,…head over to the Attributes Inspector,…and then we're going to give this a Reuse Identifier.…So this enables iOS to optimize…the creation of Table View Cells,…because you might have many cells within a Table View,…so you can optimize it by giving this a Reuse Identifier.…
In fact, giving it a Reuse Identifier is required in iOS 12.…
- Installing and using Xcode
- Working with storyboards
- Working with UI objects and events
- Resizing objects and layouts dynamically
- Coding UI objects such as buttons
- Loading and displaying data in table views
- Testing your iOS app
Skill Level Beginner
1. Xcode Fundamentals
2. Core Skills
3. Responsive UI Design
4. Coding UI Objects
5. Table Views
6. App Flow and Testing
Next steps1m 8s
- 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.