From the course: Make SwiftUI Playgrounds Applications
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Adapting models - Swift Tutorial
From the course: Make SwiftUI Playgrounds Applications
Adapting models
- [Instructor] While we have a list of pizza and prices, we don't have descriptions, ratings, or photos of the pizzas. Let's get those put in starting with the images. I'll close this up so we have more room to work. All right, now we're going to start adding the images. And we'll do the same as we did to the open files. So we're going to go back over here. To our navigator. I'm going to go ahead and hit this button on top for adding files. And I'm going to do the insert from. For photos you maybe need to do them from photo which that will go to your photo album and then you can put things in your photo album and take it from there. I actually have files, so I'm going to use the insert from. And let's go ahead and go to the - on my iPad. I'll hit the magnifying glass. And we'll type in HPC, underscore, and there's 02_07. I'll go to the assets. And I have a lot of assets here. I've actually got two sizes. We'll use…
Contents
-
-
-
(Locked)
More on the view hierarchy12m 11s
-
(Locked)
Formatted numbers8m 23s
-
(Locked)
Computed properties6m 7s
-
(Locked)
Arrays9m 54s
-
(Locked)
For loops9m 42s
-
(Locked)
Use ForEach in SwiftUI8m 32s
-
(Locked)
Protocols, Hashable, and Identifiable3m 56s
-
(Locked)
Importing models and assets8m 27s
-
(Locked)
Adapting models8m 43s
-
(Locked)
Scroll view and list6m 34s
-
Work with @State and toggle buttons8m 43s
-
(Locked)
Make Button arrays7m 13s
-
(Locked)
Work with @Binding5m 59s
-
(Locked)
Enumeration types8m 45s
-
(Locked)
Selection from lists4m 21s
-
(Locked)
Optional values6m 10s
-
(Locked)
-