MUNumberSlider
@IBDesignable
open class MUNumberSlider : MUNibView
Class that provide a custom number slider.
-
Returns the current item index.
Declaration
Swift
open var currentIndex: Int { get }
-
The current item value.
Declaration
Swift
open var currentValue: Int { get set }
-
Define the inset of the background and chart
Declaration
Swift
@IBInspectable open dynamic var selectedColor: UIColor { get set }
-
Define the inset of the background and chart
Declaration
Swift
@IBInspectable open dynamic var unselectedColor: UIColor { get set }
-
Define the inset of the background and chart
Declaration
Swift
@objc open dynamic var font: UIFont { get set }
-
Define the inset of the background and chart
Declaration
Swift
@objc open dynamic var cellWidth: CGFloat { get set }
-
Define the inset of the background and chart
Declaration
Swift
@objc open dynamic var heightMultiplier: CGFloat { get set }
-
Define the inset of the background and chart
Declaration
Swift
@IBInspectable open dynamic var image: UIImage? { get set }
-
Define the inset of the background and chart
Declaration
Swift
@IBInspectable open dynamic var minValue: Int { get set }
-
Define the inset of the background and chart
Declaration
Swift
@IBInspectable open dynamic var maxValue: Int { get set }
-
Define the scale for current collection item
Declaration
Swift
@IBInspectable open dynamic var selectedScaleValue: CGFloat { get set }
-
Default setup to load the view from a xib file.
Declaration
Swift
open override func xibSetup()
-
Lays out subviews.
Declaration
Swift
override open func layoutSubviews()
-
Asks your data source object for the cell that corresponds to the specified item in the collection view.
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
-
Asks your data source object for the cell that corresponds to the specified item in the collection view.
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
Tells the delegate when the user finishes scrolling the content.
Declaration
Swift
public func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>)
-
Tells the delegate when the user scrolls the content view within the receiver.
Declaration
Swift
public func scrollViewDidScroll(_ scrollView: UIScrollView)