Filestack Documentation

Class Stylizer

@objc(FSStylizer) public class Stylizer: NSObject  

Object used to pass set colors, fonts and defaults style of Picker.

Stylizer Stylizer NSObject NSObject Stylizer->NSObject

Conforms To

NSObject

Methods

set​Source​Table(tint​Color:​)

@objc @discardableResult
    public func setSourceTable(tintColor: UIColor) -> Stylizer  

Used for changing color of default icons on Picker first view.

Parameters

tint​Color UIColor

Color we want to use for icons.

Returns

self

set​Source​Table(cell​Text​Color:​)

@objc @discardableResult
    public func setSourceTable(cellTextColor: UIColor) -> Stylizer  

Used for changing color of text on Picker first view

Parameters

cell​Text​Color UIColor

Color we want to use for sources text.

Returns

self

set​Source​Table(cell​Text​Font:​)

@objc @discardableResult
    public func setSourceTable(cellTextFont: UIFont) -> Stylizer  

Used for changing font of text on Picker first view

Parameters

cell​Text​Font UIFont

Font we want to use for sources text.

Returns

self

set​Source​Table(cell​Background​Color:​)

@objc @discardableResult
    public func setSourceTable(cellBackgroundColor: UIColor) -> Stylizer  

Used for changing color for cells background.

Parameters

cell​Background​Color UIColor

Color we want to use for background of cells.

Returns

self

set​Source​Table(header​Text​Color:​)

@objc @discardableResult
    public func setSourceTable(headerTextColor: UIColor) -> Stylizer  

Used for changing color for section headers text.

Parameters

header​Text​Color UIColor

Color we want to use for section headers text.

Returns

self

set​Source​Table(header​Text​Font:​)

@objc @discardableResult
    public func setSourceTable(headerTextFont: UIFont) -> Stylizer  

Used for changing font for section headers text.

Parameters

header​Text​Font UIFont

Font we want to use for section headers text.

Returns

self

set​Source​Table(header​Background​Color:​)

@objc @discardableResult
    public func setSourceTable(headerBackgroundColor: UIColor) -> Stylizer  

Used for changing color of section headers background.

Parameters

header​Background​Color UIColor

Color we want to use for headers.

Returns

self

set​Source​Table(separator​Color:​)

@objc @discardableResult
    public func setSourceTable(separatorColor: UIColor) -> Stylizer  

Used for changing color of tableView separators.

Parameters

separator​Color UIColor

Color we want to use for cells separators.

Returns

self

set​Source​Table(table​Background:​)

@objc @discardableResult
    public func setSourceTable(tableBackground: UIColor) -> Stylizer  

Used for changing color of tableView background.

Parameters

table​Background UIColor

Color we want to use for background of whole table.

Returns

self

set​Source​Table(title:​)

@objc @discardableResult
    public func setSourceTable(title: String) -> Stylizer  

Used for changing default nacigation bar title of Picker first view.

Parameters

title String

String we want to use as title of SourceTable.

Returns

self

set​Nav​Bar(tint​Color:​)

@objc @discardableResult
    public func setNavBar(tintColor: UIColor) -> Stylizer  

Used for changing default nacigation bar tint color.

Parameters

tint​Color UIColor

Color we want to use as navigation bar tint color.

Returns

self

set​Nav​Bar(title​Color:​)

@objc @discardableResult
    public func setNavBar(titleColor: UIColor) -> Stylizer  

Used for changing default nacigation bar title color.

Parameters

title​Color UIColor

Color we want to use title displayed on navigation bar.

Returns

self

set​Nav​Bar(style:​)

@objc @discardableResult
    public func setNavBar(style: UIBarStyle) -> Stylizer  

Used for changing default nacigation bar style.

Parameters

style UIBar​Style

UIBarStyle we want to use.

Returns

self