https://github.com/fanta1ty/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.
https://github.com/fanta1ty/tswitchlabel
cocoapods ios label pod swift swift5 switch ui-components
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/fanta1ty/tswitchlabel
- Owner: fanta1ty
- License: mit
- Created: 2022-08-12T10:00:14.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-12T10:19:38.000Z (almost 3 years ago)
- Last Synced: 2025-03-02T02:03:11.040Z (3 months ago)
- Topics: cocoapods, ios, label, pod, swift, swift5, switch, ui-components
- Language: Swift
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# 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.
[](https://developer.apple.com/swift/)
[](https://cocoapods.org/pods/TSwitchLabel)
[](https://cocoapods.org/pods/TSwitchLabel)
[](https://cocoapods.org/pods/TSwitchLabel)
[]([email protected])## 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](https://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'TSwitchLabel'
```## Usage
```swift
import TSwitchLabel
```1) Initiate ``TSwitchLabel``
```swift
let switchLabel = TSwitchLabel()
```2) To show title, please input into ``title`` property
```swift
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.