Boxed

@propertyWrapper
public class Boxed<T>

The Boxed property wrapper can be used to wrap an object in a class

  • The value stored by the Boxed property wrapper

    Declaration

    Swift

    public var wrappedValue: T
  • Initializor of the property warpper

    Declaration

    Swift

    public init(wrappedValue: T)