Structure

UIOffset

Defines a structure that specifies an amount to offset a position.

Overview

The components are positive for right or down, negative for left or up.

See also UIOffsetMake and UIOffsetZero.

Topics

Getting the Offset Values

Managing Offsets

UIOffsetMake

Returns an offset structure from the given components.

UIOffsetEqualToOffset

Returns a Boolean value that indicates whether two offsets are equal.

Converting To and From Strings

NSStringFromUIOffset

Returns a string formatted to contain the data from an offset structure.

UIOffsetFromString

Returns a UIKit offset structure corresponding to the data in a given string.

Getting the Empty Offset Value

See Also

Related Types

UIEdgeInsets

The inset distances for views.

NSDirectionalEdgeInsets

Edge insets that take language direction into account.