Discussion 議論
The wrapped value property provides primary access to the value’s data. However, you don’t access wrapped
directly.
しかしながら、あなたはwrapped
に直接にアクセスしません。
Instead, you read the property variable created with the Environment
property wrapper:
var colorScheme: ColorScheme (\.colorScheme)
var body: some View {
if colorScheme == .dark {
DarkContent()
} else {
LightContent()
}
}