Contents

init(wrappedValue:_:)

Creates a property wrapper that notifies the system when a change in the property value invalidates an aspect of the containing view.

Declaration

init(wrappedValue: Value, _ invalidation: InvalidationType)

Parameters

  • wrappedValue:

    The underlying value referenced by the invalidating variable.

  • invalidation:

    A type of invalidation.

See Also

Creating an Invalidating Property Wrapper