Initializer

init(uiOffset:)

Creates a new value object containing the specified UIKit offset structure.

Declaration

init(uiOffset insets: UIOffset)

Parameters

insets

The value for the new object.

Return Value

A new value object that contains the offset information.

See Also

Working with UIKit Geometry Values

init(uiEdgeInsets: UIEdgeInsets)

Creates a new value object containing the specified UIKit edge insets structure.

var uiEdgeInsetsValue: UIEdgeInsets

Returns the UIKit edge insets structure representation of the value.

var uiOffsetValue: UIOffset

Returns the UIKit offset structure representation of the value.