JWTimeSliderStyleBuilder
@objcMembers
public final class JWTimeSliderStyleBuilder : NSObject, JWPrototypingBuilder
The builder for JWTimeSliderStyle.
-
Declaration
Swift
public typealias Output = JWTimeSliderStyle
-
Declaration
Swift
public internal(set) var outputObject: JWTimeSliderStyle { get }
-
Declaration
Swift
public init(from prototype: Output? = nil)
-
Undocumented
Declaration
Swift
public override convenience init()
-
Builds a
JWTimeSliderStyle
modeled after the specified parameters.Throws
throws An error if the style is not setup properly.Declaration
Swift
public func build() throws -> JWTimeSliderStyle
Return Value
A
JWTimeSliderStyle
object with the provided parameters. -
Sets the color of the slider.
Declaration
Swift
@discardableResult public func maximumTrackColor(_ maximumTrackColor: UIColor) -> JWTimeSliderStyleBuilder
Parameters
maximumTrackColor
The color for the slider.
Return Value
The builder, so setters can be chained.
-
Sets the color of the rail denoting progress.
Declaration
Swift
@discardableResult public func minimumTrackColor(_ minimumTrackColor: UIColor) -> JWTimeSliderStyleBuilder
Parameters
minimumTrackColor
The color for the rail denoting progress.
Return Value
The builder, so setters can be chained.
-
Sets the color of the draggable thumb.
Declaration
Swift
@discardableResult public func thumbColor(_ thumbColor: UIColor) -> JWTimeSliderStyleBuilder
Parameters
thumbColor
The color for the draggable thumb.
Return Value
The builder, so setters can be chained.