@Binding
-

Fix: Instance member ‘someVar’ cannot be used on type ‘InnerView’
SwiftUI nested structs can’t read the parent view’s properties. Use computed properties, parameter passing, @Binding or @Observable to share state cleanly.

SwiftUI nested structs can’t read the parent view’s properties. Use computed properties, parameter passing, @Binding or @Observable to share state cleanly.