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

https://github.com/fanta1ty/tcheckbox

TCheckBox is developed to help you display check boxes and content in the fastest way without spending many lines of code
https://github.com/fanta1ty/tcheckbox

check checkbox checkbox-component cocoapods framework ios ios-swift ios10 library swift swift5 uikit uikit-framework uncheck

Last synced: 4 days ago
JSON representation

TCheckBox is developed to help you display check boxes and content in the fastest way without spending many lines of code

Awesome Lists containing this project

README

        

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

# TCheckBox

TCheckBox is developed to help you display check boxes and content in the fastest way without spending many lines of code

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

TCheckBox is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'TCheckBox'
```

## Usage
```swift
import TCheckBox
```

1) Initiate ``TCheckBox``
```swift
let checkBox = TCheckBox()
```

2) Input content you want to show into ``TCheckBox`` property
```swift
checkBox.contentLabel.text = "Hello TCheckBox...."
```

3) Toggle ``isSelected`` property for checked/unchecked
```swift
checkBox.checkButton.isSelected = true
checkBox.checkButton.isSelected = false
```

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

## Requirements
- iOS 10.0 or later
- Swift 5.0 or later

## Author

fanta1ty, [email protected]

## License

TCheckBox is available under the MIT license. See the LICENSE file for more info.