Anchor
public enum Anchor
Enum providing definitions of anchors, including combinations.
-
Represents all anchors.
Declaration
Swift
case all
-
Represents top anchor.
Declaration
Swift
case top
-
Represents bottom anchor.
Declaration
Swift
case bottom
-
Represents leading anchor.
Declaration
Swift
case leading
-
Represents trailing anchor.
Declaration
Swift
case trailing
-
Represents top and bottom anchors.
Declaration
Swift
case vertical
-
Represents leading and trailing anchors.
Declaration
Swift
case horizontal
-
Determines whether or not enum instance involves top anchor.
Declaration
Swift
var isTop: Bool { get }
-
Determines whether or not enum instance involves bottom anchor.
Declaration
Swift
var isBottom: Bool { get }
-
Determines whether or not enum instance involves leading anchor.
Declaration
Swift
var isLeading: Bool { get }
-
Determines whether or not enum instance involves trailing anchor.
Declaration
Swift
var isTrailing: Bool { get }