SwiftUI/PropertyWrapper/@EnvironmentObject: Difference between revisions
Jump to navigation
Jump to search
imported>Fire Created page with "{{Infobox Swift |name=@EnvironmentObject |Type=Structure |iOS=13.0 |iPadOS=13.0 |macOS=10.15 |MacCatalyst=13.0 |tvOS=13.0 |watchOS=6.0 |Website={{URL|https://developer.apple.com/documentation/swiftui/environmentobject}} }} 複数のView間で、変数を共有監視する場合に使用する。 == SEE ALSO == @State・@ObservedObject EnvironmentObject" |
(No difference)
|
Latest revision as of 17:29, 25 November 2022
Type | Structure |
---|---|
iOS | 13.0+ |
iPadOS | 13.0+ |
macOS | 10.15+ |
MacCatalyst | 13.0+ |
tvOS | 13.0+ |
watchOS | 6.0+ |
Website | developer |
複数のView間で、変数を共有監視する場合に使用する。