Class
TchekReportBuilder
public class TchekReportBuilder
The builder used for customizing the features of Report
Usage:
let builder = TchekReportBuilder(tchekId: "any-tchek-id", delegate: self) { builder in
builder.bg = .purple
builder.navBarBg = .purple
builder.navBarText = .white
...
}
Initializers
init(tchekId:delegate:ui:)
public init(tchekId: String,
delegate: TchekReportDelegate,
ui: ((TchekReportBuilder) -> Void)? = nil)
Primary constructor
Parameters
| Name | Type | Description |
|---|---|---|
| tchekId | String |
Id of the Tchek concerned by the report to display |
| delegate | TchekReportDelegate |
Delegate that will be notified of events from the Report screen |
| ui | ((TchekReportBuilder) -> Void)? |
Lambda to easily set-up the builder |
Properties
pagingTextSelected
public var pagingTextSelected: UIColor
The text color of the paging slider on selected
pagingIndicator
public var pagingIndicator: UIColor
The indicatior color of the paging slider on selected
textFieldPlaceholderText
public var textFieldPlaceholderText: UIColor
The text field place holder text color
textFieldPlaceholderTextSelected
public var textFieldPlaceholderTextSelected: UIColor
The text field place holder text color
textFieldUnderlineSelected
public var textFieldUnderlineSelected: UIColor
The text field border color
vehiclePatternDamageFill
public var vehiclePatternDamageFill: UIColor
The fill color of damage on vehicle pattern
vehiclePatternOldDamageFill
public var vehiclePatternOldDamageFill: UIColor
The fill color of old damage on vehicle pattern
vehiclePatternDamageStroke
public var vehiclePatternDamageStroke: UIColor
The stroke color of damage on vehicle pattern
btnValidateSignature
public var btnValidateSignature: UIColor
The button color of Validate signature
btnValidateSignatureText
public var btnValidateSignatureText: UIColor
The text button color of Validate signature
newDamageBtnDateBorder
public var newDamageBtnDateBorder: UIColor
The border button color of The date button on new damage
newDamageSectionText
public var newDamageSectionText: UIColor
The new damage cell: Section text color
newDamageOldCompareButton
public var newDamageOldCompareButton: UIColor
The new damage compare old Tchek: Button color
newDamageOldCompareButtonText
public var newDamageOldCompareButtonText: UIColor
The new damage compare old Tchek: Button text color
newDamageOldCancelButton
public var newDamageOldCancelButton: UIColor
The new damage compare old Tchek: Button border and text color
newDamageOldTitle
public var newDamageOldTitle: UIColor
The new damage compare old Tchek: Title color
newDamageOldText
public var newDamageOldText: UIColor
The new damage compare old Tchek: Text color
repairCostCellCostBg
public var repairCostCellCostBg: UIColor
The repair cost cell: Cost bg color
repairCostCellCostText
public var repairCostCellCostText: UIColor
The repair cost cell: Cost text color
repairCostCellCircleDamageCountBg
public var repairCostCellCircleDamageCountBg: UIColor
The repair cost cell: Circle damage count bg color
repairCostCellCircleDamageCountText
public var repairCostCellCircleDamageCountText: UIColor
The repair cost cell: Circle damage count text color
repairCostBtnCostSettingsText
public var repairCostBtnCostSettingsText: UIColor
- The button text color of previous button on Report
repairCostBtnCostSettings
public var repairCostBtnCostSettings: UIColor
- The button color of next button on Report
repairCostSettingsText
public var repairCostSettingsText: UIColor
- The button color of next button on Report
btnValidateRepairCostEdit
public var btnValidateRepairCostEdit: UIColor
The button color of edit cost
btnValidateRepairCostEditText
public var btnValidateRepairCostEditText: UIColor
The text button color of edit cost
btnAddExtraDamageBg
public var btnAddExtraDamageBg: UIColor
The button background color of add extra damage
btnAddExtraDamageBgPressed
public var btnAddExtraDamageBgPressed: UIColor
The button background color of add extra damage on pressed state
btnAddExtraDamagePlusIcon
public var btnAddExtraDamagePlusIcon: UIColor
The button icon color of add extra damage
btnValidateExtraDamage
public var btnValidateExtraDamage: UIColor
The button color of Validate extra damage
btnValidateExtraDamageText
public var btnValidateExtraDamageText: UIColor
The text button color of Validate extra damage
btnDeleteExtraDamage
public var btnDeleteExtraDamage: UIColor
The button color of Delete extra damage
btnDeleteExtraDamageText
public var btnDeleteExtraDamageText: UIColor
The text button color of Delete extra damage
buyBackSectionCellBg
public var buyBackSectionCellBg: UIColor
The background color of buy back section cell
buyBackSectionCellText
public var buyBackSectionCellText: UIColor
The text color of buy back section cell
buyBackCheckboxButton
public var buyBackCheckboxButton: UIColor
The checkbox button color of buy back cell
buyBackCheckboxButtonSelected
public var buyBackCheckboxButtonSelected: UIColor
The checkbox button color of buy back cell on selected state
buyBackListSeparator
public var buyBackListSeparator: UIColor
The list separator color of buy back list