JWTimeSliderStyleBuilder
@objcMembers
public class JWTimeSliderStyleBuilder : NSObject, JWBuilder
The builder for JWTimeSliderStyle.
-
Declaration
Swift
public typealias Output = JWTimeSliderStyle -
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.
JWTimeSliderStyleBuilder Class Reference