ViewSlider
public final class ViewSlider : CustomStringConvertible
Instances know how to slide themselves around horizontally.
-
The view that is being slid
Declaration
Swift
public let view: UIView -
Custom description for instance
Declaration
Swift
public var description: String { get } -
The known constraints for the view
Declaration
Swift
public let constraints: [NSLayoutConstraint] -
Create a new slider for the given view.
Declaration
Swift
public init(view: UIView)Parameters
viewthe view to slide
-
Slide the view to the left.
Declaration
Swift
public func slideLeft() -
Slide the view to the right.
Declaration
Swift
public func slideRight()
View on GitHub
ViewSlider Class Reference