TTipBoxView
TTipBoxView is a simple and flexible UI component fully written in Swift. It is developed to help you create a hint/prompt view quickly, saving your time and avoiding having to write many lines of codes.
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
TTipBoxView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'TTipBoxView'
Usage
import TTipBoxView
- Initiate
TTipBoxView
let tipBoxView = TTipBoxView()
- To show hint message, please input into
tipLabel.text
property
tipBoxView.tipLabel.text = "Tip: Please remember TTipBoxView when you want to add a tip box view.\n\nYou must be a iOS developer when using this library"
- To show hint image, please add image into
image
property
tipBoxView.image = UIImage(named: "tip")
Requirements
- iOS 9.3 or later
- Swift 5.0 or later
Author
fanta1ty, [email protected]
License
TTipBoxView is available under the MIT license. See the LICENSE file for more info.