Closed vmanot closed 11 months ago
This PR fixes #45 by updating the compiler control statements to add the missing os(visionOS) platform condition check.
os(visionOS)
The project now builds for visionOS, but with warnings as it is built against the latest version of SwiftUI which deprecates View.onChange(of:perform:) in favor of View.onChange(of:initial:_:).
View.onChange(of:perform:)
View.onChange(of:initial:_:)
I can tackle the warnings in another PR, I'd still love to get this in if possible because compilation on visionOS is broken at the moment.
Thank you so much @vmanot!
This PR fixes #45 by updating the compiler control statements to add the missing
os(visionOS)
platform condition check.The project now builds for visionOS, but with warnings as it is built against the latest version of SwiftUI which deprecates
View.onChange(of:perform:)
in favor ofView.onChange(of:initial:_:)
.I can tackle the warnings in another PR, I'd still love to get this in if possible because compilation on visionOS is broken at the moment.