Collection views are one of the most widely used views in iOS development, and can be seen in nearly every top-rated app. This video shows an example of a collection view and how to create a collection view controller in Xcode.
- [Instructor] Another central UI…component is the collection view.…You can see an example of a collection view…in the Photos app if you go into looking at your albums.…So, if you go to the albums area, choose an album,…and then you see this grid of photos.…This can be done using a collection view,…and you're going to see this all…over the place as you're using iOS.…So, let's talk about how collection…views work and how to create them.…Head over to Xcode, and I'm going to…create a Collection View Controller.…
If you're familiar with creating a Table View Controller,…the process is almost exactly the same.…You create the view controller…rather than just a collection view.…Of course, you can create a collection view,…but a collection view controller…saves you quite a bit of the hassle…because it already has delegate support builtin,…so it's easier to get your data…inside of a collection view controller…than it is by just using a collection view.…So, most of the time you're going to be wanting…to use a collection view controller anyway,…
- Alert controllers and actions
- Sliders, progress bars, and switches
- Creating UI elements with code
- Displaying web content with Safari view controllers and WKWebView
- Creating collection view controllers
- Creating tabbed apps
- Publishing your app with App Store Connect
Skill Level Beginner
1. Master Views
2. Display Web Content
3. Collection Views
4. Multiview Templates
Customize a table view cell4m 18s
5. Publish an App
Next steps3m 28s
- 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.