Table views actually allow you to go beyond simple customization of a cell if you create custom classes. This video shows how to create a custom table view cell subclass, how to connect it to your cells, and how to customize it completely.
- [Instructor] Now we're modifying properties…in the view controller from the table view controller…but we don't have any way to present that data.…Let's take a look at how to do that…by creating a text view inside of the view controller.…So I'm in my storyboard right now…and I'll create a text view by clicking on the library…and filtering for text view…which displays multiple lines of text.…And then, I'm going to just click and drag the handles…into the available space, just like that.…
And then I'm going to use a keyboard shortcut…to automatically add auto layout pins…around the edges of the text view.…The keyboard shortcut is shift option command equals sign…and that's the shortcut for editor,…resolve auto layout issues, reset to suggested constraints.…What that does is is it adds Xcode's suggest constraints.…So Xcode basically guesses how you're trying to layout.…This usually works pretty well…if you want an object to take up the whole screen.…
But as your layouts get more complicated,…it's less reliable.…
- 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.