Delegation is how you handle table view events. With delegation, you can respond to an event like a user selecting an item in a table view. This video shows how to do just that.
- Remember, in the contacts application,…we have this top area right here.…This is called a navigation controller.…A navigation controller is used as a container…for view controllers and allows them…to transition from one to another.…It also manages titles, as well as the buttons at the top.…So when you go to another view controller,…you simply tap the back button to go…to the previous view controller.…
Almost everywhere you see a table view used in IOS,…is within a navigation controller.…So lets take a look at how to set that up.…Let's head over to the storyboard,…and we're going to select our table view controller.…Remember you can do that in the document outline,…or you can select that yellow circle at the top,…and then head up to editor,…embed in, and choose navigation controller.…
The navigation controller then becomes…the initial view controller and it contains the table view.…So if you were to run the application now,…you'd see a small bar at the top of the table view.…Before we run the application,…lets look at how to put a title inside of that bar.…
- 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.