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
OptionItem
background color.Declaration
Swift
public var optionItemBackgroundColor: UIColor
-
Sets the
OptionItem
text color.Declaration
Swift
public var optionItemTextColor: UIColor
-
Sets the
onTintColor
of the switch found on anOptionItem
object.Declaration
Swift
public var optionItemSwitchOnTintColor: UIColor
-
Sets the
tintColor
of the switch found on anOptionItem
object.Declaration
Swift
public var optionItemSwitchTintColor: UIColor?
-
Sets the
thumbTintColor
of the switch found on anOptionItem
object.Declaration
Swift
public var optionItemSwitchThumbTintColor: UIColor?
-
Sets the background color of the button found on an
OptionItem
object.Declaration
Swift
public var optionItemButtonBackgroundColor: UIColor?
-
Sets the title color of the button found on an
OptionItem
object.Declaration
Swift
public var optionItemButtonTitleColor: UIColor
-
Sets the tint color of the button found on an
OptionItem
object.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