HScroll
@available(iOS 9.0, *)
public class HScroll : UIView
A view that only allows for horizontal scrolling.
-
Creates a new view with a
ScrollViewembedded inside of a parent view.Declaration
Swift
public init( withPadding padding: Float = 0, _ closure: () -> UIView )Parameters
paddingTop and Bottom padding of the scrollable view (Default: 0)
closureA closure that returns the scrollable view
View on GitHub
HScroll Class Reference