Anchor
protocol Anchor
The Anchor Protocol
-
The Top Anchor
Declaration
Swift
var topAnchor: NSLayoutYAxisAnchor { get }
-
The Bottom Anchor
Declaration
Swift
var bottomAnchor: NSLayoutYAxisAnchor { get }
-
The Leading Anchor
Declaration
Swift
var leadingAnchor: NSLayoutXAxisAnchor { get }
-
The Trailing Anchor
Declaration
Swift
var trailingAnchor: NSLayoutXAxisAnchor { get }
-
The Width Anchor
Declaration
Swift
var widthAnchor: NSLayoutDimension { get }
-
The Height Anchor
Declaration
Swift
var heightAnchor: NSLayoutDimension { get }
-
The center x anchor
Declaration
Swift
var centerXAnchor: NSLayoutXAxisAnchor { get }
-
The center y anchor
Declaration
Swift
var centerYAnchor: NSLayoutYAxisAnchor { get }