TchekSDK Documentation

Class Tchek​Buy​Back​Flow​Builder

public class TchekBuyBackFlowBuilder  

The builder used for customizing the features of Buy Back Flow

Usage:

let builder = TchekBuyBackFlowBuilder(delegate: self) { builder in
builder.bg =
}

Initializers

init(delegate:​ui:​)

public init(delegate: TchekBuyBackFlowDelegate,
				ui: ((TchekBuyBackFlowBuilder) -> Void)? = nil)  

Primary constructor

Parameters

delegate Tchek​Buy​Back​Flow​Delegate

Delegate that will be notified of events from the Buy Back Flow

ui ((Tchek​Buy​Back​Flow​Builder) -> Void)?

Lambda to easily set-up the builder

Properties

bg

public var bg: UIColor

The background color

nav​Bar​Bg

public var navBarBg: UIColor

The navigation bar color

nav​Bar​Text

public var navBarText: UIColor

The navigation bar text color

buy​Back​Flow​Text

public var buyBackFlowText: UIColor

The main text color

btn​Prev

public var btnPrev: UIColor

The background color of previous button

btn​Prev​Disable

public var btnPrevDisable: UIColor

The background color of previous button on disable state

btn​Prev​Stroke

public var btnPrevStroke: UIColor

The stroke color of previous button. Pass UIColor.clear to disable

btn​Prev​Text

public var btnPrevText: UIColor

The text color of previous button

btn​Prev​Text​Disable

public var btnPrevTextDisable: UIColor

The text color of previous button on disable state

btn​Next

public var btnNext: UIColor

The background color of next button

btn​Next​Disable

public var btnNextDisable: UIColor

The background color of next button on disable state

btn​Next​Stroke

public var btnNextStroke: UIColor

The stroke color of next button. Pass UIColor.clear to disable

btn​Next​Text

public var btnNextText: UIColor

The text color of next button

btn​Next​Text​Disable

public var btnNextTextDisable: UIColor

The text color of next button on disable state

text​Field​Placeholder​Text

public var textFieldPlaceholderText: UIColor

The text field place holder text color

text​Field​Placeholder​Text​Selected

public var textFieldPlaceholderTextSelected: UIColor

The text field place holder text color

text​Field​Underline

public var textFieldUnderline: UIColor

The text field border color

text​Field​Underline​Selected

public var textFieldUnderlineSelected: UIColor

The text field border color on Selected state

text​Field​Text

public var textFieldText: UIColor

The text field text color

radio​Button

public var radioButton: UIColor

The radio button color

radio​Button​Selected

public var radioButtonSelected: UIColor

The radio button color on selected state

radio​Button​Bg

public var radioButtonBg: UIColor

The radio button bg color

radio​Button​BgSelected

public var radioButtonBgSelected: UIColor

The radio button bg color on selected state

radio​Button​BgStroke

public var radioButtonBgStroke: UIColor

The radio button border color

radio​Button​BgStroke​Selected

public var radioButtonBgStrokeSelected: UIColor

The radio button border color on selected state

list​Separator

public var listSeparator: UIColor

The list separator color

mechanical​Check​Button

public var mechanicalCheckButton: UIColor

The Mechanical Check button color

mechanical​Check​Button​Selected

public var mechanicalCheckButtonSelected: UIColor

The Mechanical Check button color on selected state

mechanical​Check​Button​Stroke

public var mechanicalCheckButtonStroke: UIColor

The Mechanical Check button stroke color

mechanical​Check​Button​Stroke​Selected

public var mechanicalCheckButtonStrokeSelected: UIColor

The Mechanical Check button stroke color on selected state

mechanical​Check​Button​Text

public var mechanicalCheckButtonText: UIColor

The Mechanical Check button text color

mechanical​Check​Button​Text​Selected

public var mechanicalCheckButtonTextSelected: UIColor

The Mechanical Check button text color on selected state