FocusedObject
struct · iOS 16.0+ · SDK 27.1
@MainActor @frozen @propertyWrapper @preconcurrency struct FocusedObject<ObjectType> where ObjectType : ObservableObjectA property wrapper type for an observable object supplied by the focused view or one of its ancestors. Focused objects invalidate the current view whenever the observable object changes. If multiple views publish a focused object using the same key, the wrapped property will reflect the object that's closest to the focused view.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
FocusedObject.wrappedValue
This declaration needs Swift generic type arguments. (no canonical witness for ObjectType)
FocusedObject.projectedValue
The containing type needs Swift generic type arguments. (no canonical witness for ObjectType)
FocusedObject.init()
The containing type needs Swift generic type arguments. (no canonical witness for ObjectType)