How would I create a specific iOS 14 class variable?
I tried these two forms with a @available property builder:
struct Blabla {
@available(iOS 14.0, *)
@Namespace private var animation
}
struct Blabla {
@available(iOS 14.0, *) @Namespace private var animation
}
but it shows this error: 'Namespace' is only available in iOS 14.0 or newer.