Styles
@objc
public class Styles : NSObject
Provides all the styling for the visual elements after they are loaded out of nib files or created.
-
The look & feel of all the visual elements can be set through shared instance.
Declaration
Swift
public static let shared: Styles
-
Sets the
OptionItembackground color.Declaration
Swift
public var optionItemBackgroundColor: UIColor -
Sets the
OptionItemtext color.Declaration
Swift
public var optionItemTextColor: UIColor -
Sets the
onTintColorof the switch found on anOptionItemobject.Declaration
Swift
public var optionItemSwitchOnTintColor: UIColor -
Sets the
tintColorof the switch found on anOptionItemobject.Declaration
Swift
public var optionItemSwitchTintColor: UIColor? -
Sets the
thumbTintColorof the switch found on anOptionItemobject.Declaration
Swift
public var optionItemSwitchThumbTintColor: UIColor? -
Sets the background color of the button found on an
OptionItemobject.Declaration
Swift
public var optionItemButtonBackgroundColor: UIColor? -
Sets the title color of the button found on an
OptionItemobject.Declaration
Swift
public var optionItemButtonTitleColor: UIColor -
Sets the tint color of the button found on an
OptionItemobject.Declaration
Swift
public var optionItemButtonTintColor: UIColor?
-
Sets the title background color of
SingleChoiceOptionItem.Declaration
Swift
public var singleChoiceOptionItemTitleBackgroundColor: UIColor -
Sets the title alignment of
SingleChoiceOptionItem.Declaration
Swift
public var singleChoiceOptionItemTitleTextAlignment: NSTextAlignment -
Sets the title leading constraint of
SingleChoiceOptionItem.Declaration
Swift
public var singleChoiceOptionItemTitleLeadingConstraint: CGFloat -
Sets the title trailing constraint of
SingleChoiceOptionItem.Declaration
Swift
public var singleChoiceOptionItemTitleTrailingConstraint: CGFloat -
Sets the background color of
SingleChoiceOptionItem.Declaration
Swift
public var singleChoiceOptionItemBackgroundColor: UIColor -
Sets the alignment of options of
SingleChoiceOptionItem.Declaration
Swift
public var singleChoiceOptionItemTextAlignment: NSTextAlignment
View on GitHub
Styles Class Reference