An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

![LOGO](https://github.com/fanta1ty/TSwitchLabel/blob/master/ScreenShot/Logo.png)

# 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](https://img.shields.io/badge/Swift-5.0-brightgreen)](https://developer.apple.com/swift/)
[![Version](https://img.shields.io/cocoapods/v/TSwitchLabel.svg?style=flat)](https://cocoapods.org/pods/TSwitchLabel)
[![License](https://img.shields.io/cocoapods/l/TSwitchLabel.svg?style=flat)](https://cocoapods.org/pods/TSwitchLabel)
[![Platform](https://img.shields.io/cocoapods/p/TSwitchLabel.svg?style=flat)](https://cocoapods.org/pods/TSwitchLabel)
[![Email](https://img.shields.io/badge/contact-@[email protected])]([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"
```

![alt text](https://github.com/fanta1ty/TSwitchLabel/blob/master/ScreenShot/Screen%20Shot.gif)

## 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.