First EnvironmentKey you create a struct that conform to the protocol. Essential thing is defaultValue only property. struct WindowKey: EnvironmentKey {
確定! 回上一頁