Your Second iOS & SwiftUI App, Episode 23: Environment | raywenderlich.com

An environment is a storage container for potentially any information that multiple views need to function.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/25836622-your-second-ios-swiftui-app/lessons/23

The versión of the App that you use in this episode is not the same. Yo use UIImage in the Library instead of Image, like the rest of the course.

4 Likes

For anybody stuck with the UIImage thing, just use Image. Seems like this video may need some update

1 Like

This was the most frustrating thing! Thanks.

I just ran into the same problem. I believe it should read:

images[book] = image