Post

Replies

Boosts

Views

Activity

Reply to Image Thumbnail
Without code it is a bit of a guess but I think @frunny had you pointed in the right direction. From what you posted you have "clothing name - Thumbnail" for the Image name and now have var thumbnailName: String { return name + "Thumbnail" } in your model which would produce "clothing nameThumbnail" and not match. The space-dash-space don't get added when you concatenate the strings. Try var thumbnailName: String { return name + " - Thumbnail" } or change you image names to remove the space-dash-space. A quick test of how your thumbnailName looks would be to temporarily replace the title text for Text(Outfits.name) in the cell view with Text(Outfits.thumbnailName) to see them in the list.
Jul ’20
Reply to Are there assets available for the code from Introduction to SwiftUI section?
I posted this on another thread with a similar question.... I put together a GitHub project with just the files Jacob dragged in and an assets catalog with a bunch of matching sandwich images from Unsplash prepared and loaded in. Images and names will look different but should be able to use these as resources for a code along just like he did in the session. Check the README for details. Intro to SwiftUI WWDC20-10119 Resources - https://github.com/jaypricer/resources-intro-swiftui-wwdc20-10119
Jun ’20
Reply to Where's the Sandwich assets & code? wwdc20-10119
Well it looks like some of us had the same idea! I put together a GitHub project with just the files Jacob dragged in and an assets catalog with a bunch of matching sandwich images from Unsplash prepared and loaded in. Will look a different but should be able to use these as resources for a code along. Check the README for details. Intro to SwiftUI WWDC20-10119 Resources - https://github.com/jaypricer/resources-intro-swiftui-wwdc20-10119 Hope it helps someone out!
Jun ’20