Type Aliases

The following type aliases are available globally.

  • Typealias for NSLayoutConstraint

    Declaration

    Swift

    public typealias LayoutConstraint = NSLayoutConstraint
  • StackView typealias: represents UIStackView on UIKit and NSStackView on AppKit

    Declaration

    Swift

    public typealias StackView = UIStackView
  • Alignment typealias: represents UIStackView.Alignment on UIKit and NSLayoutConstraint.Attribute on AppKit

    Declaration

    Swift

    public typealias Alignment = UIStackView.Alignment
  • StackAxis typealias: represents NSLayoutConstraint.Axis on UIKit and NSUserInterfaceLayoutOrientation on AppKit

    Declaration

    Swift

    public typealias StackAxis = NSLayoutConstraint.Axis
  • View typealias: represents UIView on UIKit and NSView on AppKit

    Declaration

    Swift

    public typealias View = UIView