Contents

length

The distance, in points, between the two attachment points of the attachment behavior.

Declaration

var length: CGFloat { get set }

Discussion

Use this property to adjust the attachment length, if you want to, after creating an attachment. The system sets initial length automatically based on how you initialize the attachment.

See Also

Configuring an attachment behavior