LOGO

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.

Swift 5.0 Version License Platform Email

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
  1. Initiate TTipBoxView
let tipBoxView = TTipBoxView()
  1. 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"
  1. To show hint image, please add image into image property
tipBoxView.image = UIImage(named: "tip")

alt text

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.

GitHub

View Github