Join Todd Perkins for an in-depth discussion in this video Solution: Collection views, part of iOS 13 Development Essential Training: 2 Web Content, Views, and Distribution.
(upbeat pop music)…- [Instructor] Here is my solution to the challenge.…And of course, you may have done it differently.…I'm starting in my storyboard, and I have my Collection…View Controller on the left, and my View Controller…on the right.…So in my View Controller on the right, I'm going to hit…that plus button to open up the Library,…and search for a text view, or if we can drag…the text view onto the screen,…and then I'm going to make it…hit all of the edges of the screen.…
Just like that.…And now I'm going to use the handy keyboard shortcut…shift + option + command + equals,…to have Xcode automatically create auto-layout constraints.…The next step is to connect this to my code,…which I'll do using control + option + command + return…to open the assistant editor.…This opens up the ViewController class.…I'll right click and drag from the text view…right about my item variable…to create an outlet to the text view.…
We'll call this text view with a capital V…and hit return.…So now I can reference that in my code.…
- Advanced UI controls
- Creating alert controllers
- Displaying web content
- Creating a collection view controller
- Creating a custom data type
- Creating tabbed apps
- Importing and setting icons for your apps
- Publishing your app to the App Store
Skill Level Beginner
iOS and watchOS App Development: Notificationswith Steven Lipton3h 45m Intermediate
1. Mastering Views
2. Display Web Content
3. Collection Views
4. Multi-View Templates
5. Publish an App
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.