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
JWTimeSliderStylemodeled after the specified parameters.Throws
throws An error if the style is not setup properly.Declaration
Swift
public func build() throws -> JWTimeSliderStyleReturn Value
A
JWTimeSliderStyleobject with the provided parameters. -
Sets the color of the slider.
Declaration
Swift
@discardableResult public func maximumTrackColor(_ maximumTrackColor: UIColor) -> JWTimeSliderStyleBuilderParameters
maximumTrackColorThe 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) -> JWTimeSliderStyleBuilderParameters
minimumTrackColorThe 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) -> JWTimeSliderStyleBuilderParameters
thumbColorThe color for the draggable thumb.
Return Value
The builder, so setters can be chained.