LayoutAnchor
public struct LayoutAnchor<T> : LayoutAnchorType, Equatable, CustomStringConvertible
Undocumented
-
Undocumented
Declaration
Swift
public var owner: AnyObject? { get } -
Undocumented
Declaration
Swift
public var kind: AnchorKind -
Undocumented
Declaration
Swift
public var orientation: LayoutAnchorOrientation { get } -
Declaration
Swift
public var description: String { get } -
Removes all constraints attached to this layout anchor.
Declaration
Swift
public func removeConstraints() -
Removes all constraints that tie this anchor to an absolute value, e.g.
layout.left >= 10orlayout.width == 200.Declaration
Swift
public func removeAbsoluteConstraints() -
Declaration
Swift
public static func == (lhs: LayoutAnchor, rhs: LayoutAnchor) -> Bool -
Undocumented
Declaration
Swift
public func equalTo( _ value: Double, priority: LayoutPriority = .required ) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
public func equalTo( _ other: LayoutAnchor<T>, offset: Double = 0, multiplier: Double = 1, priority: LayoutPriority = .required ) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
public func equalTo( _ other: LayoutAnchorsContainer, offset: Double = 0, multiplier: Double = 1, priority: LayoutPriority = .required ) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
public func lessThanOrEqualTo( _ value: Double, priority: LayoutPriority = .required ) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
public func lessThanOrEqualTo( _ other: LayoutAnchor<T>, offset: Double = 0, multiplier: Double = 1, priority: LayoutPriority = .required ) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
public func lessThanOrEqualTo( _ other: LayoutAnchorsContainer, offset: Double = 0, multiplier: Double = 1, priority: LayoutPriority = .required ) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
public func greaterThanOrEqualTo( _ value: Double, priority: LayoutPriority = .required ) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
public func greaterThanOrEqualTo( _ other: LayoutAnchor<T>, offset: Double = 0, multiplier: Double = 1, priority: LayoutPriority = .required ) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
public func greaterThanOrEqualTo( _ other: LayoutAnchorsContainer, offset: Double = 0, multiplier: Double = 1, priority: LayoutPriority = .required ) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func == (lhs: `Self`, rhs: LayoutAnchor<T>) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func == (lhs: `Self`, rhs: LayoutAnchorsContainer) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func == (lhs: `Self`, rhs: Double) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func <= (lhs: `Self`, rhs: LayoutAnchor<T>) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func <= (lhs: `Self`, rhs: LayoutAnchorsContainer) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func <= (lhs: `Self`, rhs: Double) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func >= (lhs: `Self`, rhs: LayoutAnchor<T>) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func >= (lhs: `Self`, rhs: LayoutAnchorsContainer) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func >= (lhs: `Self`, rhs: Double) -> LayoutConstraintDefinition
-
Undocumented
Declaration
Swift
static func == (lhs: `Self`, rhs: LayoutAnchorsContainerWithOffset) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func == (lhs: `Self`, rhs: LayoutAnchorWithOffset<T>) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func <= (lhs: `Self`, rhs: LayoutAnchorsContainerWithOffset) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func <= (lhs: `Self`, rhs: LayoutAnchorWithOffset<T>) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func >= (lhs: `Self`, rhs: LayoutAnchorsContainerWithOffset) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func >= (lhs: `Self`, rhs: LayoutAnchorWithOffset<T>) -> LayoutConstraintDefinition -
Undocumented
Declaration
Swift
static func + (lhs: LayoutAnchor, rhs: Double) -> LayoutAnchorWithOffset<T> -
Undocumented
Declaration
Swift
static func - (lhs: LayoutAnchor, rhs: Double) -> LayoutAnchorWithOffset<T>