LOGO

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.

Swift 5.0 Version License Platform Email

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
  1. Initiate TSwitchLabel
let switchLabel = TSwitchLabel()
  1. To show title, please input into title property
switchLabel.titleLabel.text = "TSwitch Label"

alt text

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.

GitHub

View Github