TSwitchLabel is a simple and flexible UI component fully written in Swift. TSwitchLabel is developed for you to easily use when you need to design a UI with Label and Switch in the fastest way without having to spend time on develop from scratch.
To run the example project, clone the repo, and run pod install
from the Example directory first.
TSwitchLabel is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'TSwitchLabel'
import TSwitchLabel
- Initiate
TSwitchLabel
let switchLabel = TSwitchLabel()
- To show title, please input into
title
property
switchLabel.titleLabel.text = "TSwitch Label"
- iOS 10.0 or later
- Swift 5.0 or later
fanta1ty, thinhnguyen12389@gmail.com
TSwitchLabel is available under the MIT license. See the LICENSE file for more info.