Contained in: Your Second iOS & SwiftUI App
Video Course
iOS & Swift
Your Second iOS & SwiftUI App
Nov 4 2021 · Video Course (2 hrs, 0 mins)
Use the knowledge you’ve gained from creating a SwiftUI app,
and learning the basics of Swift, to create a more complex app:
one to track your book collection!
iOS & Swift
SF Symbols
Nov 4 2021 · Lesson
Review how to add SF Symbols in SwiftUI, and dynamically add an SF Symbol based on a book’s title.
iOS & Swift
List Rows
Nov 4 2021 · Lesson
A List is a View for organizing data into a scrollable column of rows, and a row can be any View! Before you can have a list, you need a reusable row.
iOS & Swift
Introduction
Nov 4 2021 · Lesson
Learn what’s in store for you as you build Your Second iOS and SwiftUI App. This course builds on the Your First App, and Programming in Swift courses.
iOS & Swift
Challenge: View Reuse
Nov 4 2021 · Lesson
Create a reusable view which you can use for your rows, and their detail views. The “details” will be the entirety of longer titles, and larger images.
iOS & Swift
Models & Views
Nov 4 2021 · Lesson
Collectively, the properties of a book will be our data model. A book’s image will be computed based on its stored model data.
iOS & Swift
Challenge: Book Row
Nov 4 2021 · Lesson
With your Book model and a simple Image View set up, it is time to provide a book to the view you’ll be using for each of your list rows.
iOS & Swift
Lists
Nov 4 2021 · Lesson
With enough of your app built up for it to make sense to incorporate a List, it’s nearly as simple as hitting “Embed in List”!
iOS & Swift
Navigation
Nov 4 2021 · Lesson
Use NavigationLink and NavigationView to show a new detail view after tapping on a row in the list of books.
iOS & Swift
Conclusion
Nov 4 2021 · Lesson
Review what you’re able to do with lists already, and get a couple of ideas for what you can start thinking about in order to apply SwiftUI Lists in the future.
iOS & Swift
Introduction
Nov 4 2021 · Lesson
In this part, you’ll be completing your Book type, and create more interactive views. Your app will look great in both light and dark mode, too!
iOS & Swift
Modal Views
Nov 4 2021 · Lesson
Use a modal sheet in your detail view to present an image picker, and bind the result to your library. Soon, your books can have cover photos!
iOS & Swift
Image Binding
Nov 4 2021 · Lesson
The reason the images you’re adding to your library are not showing up is Book Images currently only display symbols. Let’s fix that!
iOS & Swift
Color Schemes
Nov 4 2021 · Lesson
The accent color for an app will be applied to certain views, like button labels, to achieve a desired theme.
iOS & Swift
Confirmation Dialogs
Nov 4 2021 · Lesson
An Alert is a good solution for helping a user avoid an unintentional loss of data. Along with the “sheet”, it’s another type of modal View.
iOS & Swift
Challenge: Image Deletion Button
Nov 4 2021 · Lesson
Challenge! After setting a book’s image, show the user a “delete” button, which will bring up your alert from the previous episode.
iOS & Swift
Model Objects
Nov 4 2021 · Lesson
Convert a Book instance into “Model Object”: a reference type that comes with the power of the Identifiable protocol.
iOS & Swift
Observable Objects
Nov 4 2021 · Lesson
Combine makes it easy to take an object, observe changes to its properties, and react to those changes, in SwiftUI.
iOS & Swift
Challenge: Micro-Review
Nov 4 2021 · Lesson
To complete your detail view, make use of a TextField, binding it to a book’s micro-review. Then display the review in your list!
iOS & Swift
Conclusion
Nov 4 2021 · Lesson
You’ve given your app a bunch of new features in this part. You can interact with your library and books from multiple places, and your UI syncs right up!