Skip to content

Using JTMaterialSwitch in Swift 4 #6

@aserdah

Description

@aserdah

declare JTMaterialSwitch
let Switch = JTMaterialSwitch()

se switch color
Switch?.thumbOnTintColor = UIColor.init(hex: 0xF9D059)

add switch to UIView
View.addSubview(Switch!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions