MUIndicator
@IBDesignable
open class MUIndicator : MUNibView
Class that provide an indicator with a animated counter label with customizable options. See MULabelCounter.
-
Specifies the indicator’s color.
Declaration
Swift
@IBInspectable open dynamic var color: UIColor { get set }
-
Specifies the indicator’s corner radius.
Declaration
Swift
@IBInspectable open dynamic var cornerRadius: CGFloat { get set }
-
Specifies the indicator’s value font.
Declaration
Swift
@objc open dynamic var valueFont: UIFont { get set }
-
Specifies the indicator’s value color.
Declaration
Swift
@IBInspectable open dynamic var valueColor: UIColor { get set }
-
The indicator’s text animation curve type.
Declaration
Swift
@objc open dynamic var animationType: UIView.AnimationCurve { get set }
-
Optional: The IBInspectable version of the indicator’s text animation curve type.
Declaration
Swift
@IBInspectable open dynamic var animationTypeInt: Int { get set }
-
The indicator’s text alignment.
Declaration
Swift
@objc open dynamic var textAlignment: NSTextAlignment { get set }
-
Optional: The IBInspectable version of the indicator’s text alignment.
Declaration
Swift
@IBInspectable open dynamic var textAlignmentInt: Int { get set }
-
Specifies the indicator’s value format.
Declaration
Swift
@IBInspectable open dynamic var format: String { get set }
-
Set the indicator value with animation. Default animation duration is 0.
Declaration
Swift
public func set(value: Double, duration: Double = 0.0)
-
Lays out subviews.
Declaration
Swift
override open func layoutSubviews()
-
The natural size for the receiving view, considering only properties of the view itself.
Declaration
Swift
override open var intrinsicContentSize: CGSize { get }