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: BoolReturn Value
If being dragged returns
true,falseotherwise -
This property determines the orientation of the arranged views. Assigning the
NSLayoutConstraint.Axis.verticalvalue creates a column of views. Assigning theNSLayoutConstraint.Axis.horizontalvalue 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]
-
Not implemented
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Override this if you are cusomizing your seperator/handle Use
handleConstraintsas necessaryDeclaration
Swift
open func layoutConstraints()
-
The default handle.
Declaration
Swift
public class func useDefault() -> SplitViewHandle
View on GitHub
Install in Dash
SplitViewHandle Class Reference