TCheckBox is developed to help you display check boxes and content in the fastest way
TCheckBox
TCheckBox is developed to help you display check boxes and content in the fastest way without spending many lines of code
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. To install it, simply add the following line to your Podfile:
pod 'TCheckBox'
Usage
import TCheckBox
- Initiate
TCheckBox
let checkBox = TCheckBox()
- Input content you want to show into
TCheckBox
property
checkBox.contentLabel.text = "Hello TCheckBox...."
- Toggle
isSelected
property for checked/unchecked
checkBox.checkButton.isSelected = true
checkBox.checkButton.isSelected = false
Requirements
- iOS 10.0 or later
- Swift 5.0 or later
Author
fanta1ty, thinhnguyen12389@gmail.com
License
TCheckBox is available under the MIT license. See the LICENSE file for more info.