Contents

attachableValue

The value of this attachment.

Declaration

var attachableValue: AttachableValue.Wrapped { get }

Discussion

When the attachable value’s type conforms to AttachableWrapper, the value of this property equals the wrapper’s underlying attachable value. To access the attachable value as an instance of T (where T conforms to AttachableWrapper), specify the type explicitly:

let attachableValue = attachment.attachableValue as T