SplitViewHandle

open class SplitViewHandle : UIView

The seperator/handle that is between each view in a SplitView

  • The center view used for grabbing

    Declaration

    Swift

    public var grabber: UIView
  • The width/height of the view

    Declaration

    Swift

    public var size: CGFloat
  • Used for position tracking

    Declaration

    Swift

    public var initialOrigin: CGPoint?
  • Declaration

    Swift

    public var isBeingUsed: Bool

    Return Value

    If being dragged returns true, false otherwise

  • This property determines the orientation of the arranged views. Assigning the NSLayoutConstraint.Axis.vertical value creates a column of views. Assigning the NSLayoutConstraint.Axis.horizontal value creates a row.

    Declaration

    Swift

    public var axis: NSLayoutConstraint.Axis { get set }
  • The current constraints on the handle This is used when changing axises and should only be modified when overriding

    Declaration

    Swift

    public var handleConstraints: [NSLayoutConstraint]