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.
To run the example project, clone the repo, and run pod install
from the Example directory first.
TTipBoxView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'TTipBoxView'
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")
- iOS 9.3 or later
- Swift 5.0 or later
fanta1ty, thinhnguyen12389@gmail.com
TTipBoxView is available under the MIT license. See the LICENSE file for more info.