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 theNSLayoutConstraint.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]
-
Not implemented
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Override this if you are cusomizing your seperator/handle Use
handleConstraints
as necessaryDeclaration
Swift
open func layoutConstraints()
-
The default handle.
Declaration
Swift
public class func useDefault() -> SplitViewHandle