TSwitchLabel
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.
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
TSwitchLabel is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'TSwitchLabel'
Usage
import TSwitchLabel
- Initiate
TSwitchLabel
let switchLabel = TSwitchLabel()
- To show title, please input into
title
property
switchLabel.titleLabel.text = "TSwitch Label"
Requirements
- iOS 10.0 or later
- Swift 5.0 or later
Author
fanta1ty, [email protected]
License
TSwitchLabel is available under the MIT license. See the LICENSE file for more info.