Class
Stylizer
@objc(FSStylizer) public class Stylizer: NSObject
Object used to pass set colors, fonts and defaults style of Picker.
Relationships
Conforms To
NSObject
Methods
setSourceTable(tintColor:)
@objc @discardableResult
public func setSourceTable(tintColor: UIColor) -> Stylizer
Used for changing color of default icons on Picker first view.
Parameters
Name | Type | Description |
---|---|---|
tintColor | UIColor |
Color we want to use for icons. |
Returns
self
setSourceTable(cellTextColor:)
@objc @discardableResult
public func setSourceTable(cellTextColor: UIColor) -> Stylizer
Used for changing color of text on Picker first view
Parameters
Name | Type | Description |
---|---|---|
cellTextColor | UIColor |
Color we want to use for sources text. |
Returns
self
setSourceTable(cellTextFont:)
@objc @discardableResult
public func setSourceTable(cellTextFont: UIFont) -> Stylizer
Used for changing font of text on Picker first view
Parameters
Name | Type | Description |
---|---|---|
cellTextFont | UIFont |
Font we want to use for sources text. |
Returns
self
setSourceTable(cellBackgroundColor:)
@objc @discardableResult
public func setSourceTable(cellBackgroundColor: UIColor) -> Stylizer
Used for changing color for cells background.
Parameters
Name | Type | Description |
---|---|---|
cellBackgroundColor | UIColor |
Color we want to use for background of cells. |
Returns
self
setSourceTable(headerTextColor:)
@objc @discardableResult
public func setSourceTable(headerTextColor: UIColor) -> Stylizer
Used for changing color for section headers text.
Parameters
Name | Type | Description |
---|---|---|
headerTextColor | UIColor |
Color we want to use for section headers text. |
Returns
self
setSourceTable(headerTextFont:)
@objc @discardableResult
public func setSourceTable(headerTextFont: UIFont) -> Stylizer
Used for changing font for section headers text.
Parameters
Name | Type | Description |
---|---|---|
headerTextFont | UIFont |
Font we want to use for section headers text. |
Returns
self
setSourceTable(headerBackgroundColor:)
@objc @discardableResult
public func setSourceTable(headerBackgroundColor: UIColor) -> Stylizer
Used for changing color of section headers background.
Parameters
Name | Type | Description |
---|---|---|
headerBackgroundColor | UIColor |
Color we want to use for headers. |
Returns
self
setSourceTable(separatorColor:)
@objc @discardableResult
public func setSourceTable(separatorColor: UIColor) -> Stylizer
Used for changing color of tableView separators.
Parameters
Name | Type | Description |
---|---|---|
separatorColor | UIColor |
Color we want to use for cells separators. |
Returns
self
setSourceTable(tableBackground:)
@objc @discardableResult
public func setSourceTable(tableBackground: UIColor) -> Stylizer
Used for changing color of tableView background.
Parameters
Name | Type | Description |
---|---|---|
tableBackground | UIColor |
Color we want to use for background of whole table. |
Returns
self
setSourceTable(title:)
@objc @discardableResult
public func setSourceTable(title: String) -> Stylizer
Used for changing default nacigation bar title of Picker first view.
Parameters
Name | Type | Description |
---|---|---|
title | String |
String we want to use as title of SourceTable. |
Returns
self