Type Method

valueWithUIOffset:

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

Declaration

+ (NSValue *)valueWithUIOffset:(UIOffset)insets;

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

+ valueWithUIEdgeInsets:

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

UIEdgeInsetsValue

Returns the UIKit edge insets structure representation of the value.

UIOffsetValue

Returns the UIKit offset structure representation of the value.