Table views are one of the most common data views in Cocoa and macOS development. This video shows how to set up a table view and a Swift 3 data source.
- [Teacher] There are multiple ways to get content…inside of a table view.…So let's look at one first.…I'm going to filter for a table in the object library,…and then just drag and drop the table view…out onto the screen.…Our goal here is to create…the simplest table view possible.…I just want a list of a few items in one column.…So what I want to do…is change the settings of my table view…by selecting it and modifying it…in the attributes inspector.…
With what I have selected now,…you'll see, in the attributes inspector,…that I have a scroll view selected.…Now, there are multiple ways to select the table view.…You can always use the document outline…and kind of drill down through the bordered scroll view…and through the clip view,…and then select the table view from there.…You can also click away,…and then click multiple times to drill down.…The third time I clicked,…I've selected the table view successfully.…So you can choose whichever way you want…to select your table view.…Once it's selected, we want to go to a one-column layout…
- Installing your development tools
- Working with Xcode and the MVC pattern
- Creating basic interactions
- Creating delegate classes
- Building a user interface
- Laying out the UI
- Working with data and table views
- Binding data objects to the UI
- Debugging your app
- Distributing the app
Skill Level Beginner
1. Get Started
2. Core Cocoa Skills
4. Create User Interfaces
5. Arrange User Interfaces
6. Use Data Controls
7. Debug and Troubleshoot
8. Distribute an Application
9. Finishing Touches
Create full screen apps1m 51s
Next steps1m 21s
- 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.