SwiftUI, Chapter 6. The Environment and Preferences
First, you will be able to explain the environment as a dictionary of values attached to a place in the tree, say what a key with a default is, and say which setter wins when two of them disagree.
First, you will be able to explain the environment as a dictionary of values attached to a place in the tree, say what a key with a default is, and say which setter wins when two of them disagree.