Structure

NSLayoutFormatOptions

A bit mask that specifies both a part of an interface element to align and a direction for the alignment between two interface elements.

Symbols

Constants

static var alignAllLeft: NSLayoutFormatOptions

Align all specified interface elements using left on each.

static var alignAllRight: NSLayoutFormatOptions

Align all specified interface elements using right on each.

static var alignAllTop: NSLayoutFormatOptions

Align all specified interface elements using top on each.

static var alignAllBottom: NSLayoutFormatOptions

Align all specified interface elements using bottom on each.

static var alignAllLeading: NSLayoutFormatOptions

Align all specified interface elements using leading on each.

static var alignAllTrailing: NSLayoutFormatOptions

Align all specified interface elements using trailing on each.

static var alignAllCenterX: NSLayoutFormatOptions

Align all specified interface elements using centerX on each.

static var alignAllCenterY: NSLayoutFormatOptions

Align all specified interface elements using centerY on each.

static var alignmentMask: NSLayoutFormatOptions

Bit mask that can be combined with a NSLayoutFormatOptions variable to yield only the alignment portion of the format options.

static var directionLeadingToTrailing: NSLayoutFormatOptions

Arrange objects in order based on the normal text flow for the current user interface language. In left-to-right languages (like English), this arrangement results in the first object being placed farthest to the left, the next one to its right, and so on. In right-to-left languages (like Arabic or Hebrew), the ordering is reversed.

static var directionLeftToRight: NSLayoutFormatOptions

Arrange objects in order from left to right.

static var directionRightToLeft: NSLayoutFormatOptions

Arrange objects in order from right to left.

static var directionMask: NSLayoutFormatOptions

Bit mask that can be combined with a NSLayoutFormatOptions variable to yield only the direction portion of the format options.

Relationships

Conforms To