VScroll
@available(iOS 9.0, *)
public class VScroll : UIView
A view that only allows for vertical scrolling.
-
Creates a new view with a
ScrollView
embedded inside of a parent view.Declaration
Swift
public init( withPadding padding: Float = 0, _ closure: () -> UIView )
Parameters
padding
Leading and Trailing padding of the scrollable view (Default: 0)
closure
A closure that returns the scrollable view