https://github.com/fanta1ty/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.
https://github.com/fanta1ty/ttipboxview
cocoapods hint hints ios ios-app ios-swift message pod prompt swift swift5 tip tips tips-and-tricks tips-tricks tool uiframework uikit
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/fanta1ty/ttipboxview
- Owner: fanta1ty
- License: mit
- Created: 2022-08-03T03:22:47.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T06:49:51.000Z (almost 3 years ago)
- Last Synced: 2025-03-04T23:35:46.158Z (4 months ago)
- Topics: cocoapods, hint, hints, ios, ios-app, ios-swift, message, pod, prompt, swift, swift5, tip, tips, tips-and-tricks, tips-tricks, tool, uiframework, uikit
- Language: Swift
- Homepage:
- Size: 108 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# 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.
[](https://developer.apple.com/swift/)
[](https://cocoapods.org/pods/TTipBoxView)
[](https://cocoapods.org/pods/TTipBoxView)
[](https://cocoapods.org/pods/TTipBoxView)
[]([email protected])## 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](https://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'TTipBoxView'
```## Usage
```swift
import TTipBoxView
```1) Initiate ``TTipBoxView``
```swift
let tipBoxView = TTipBoxView()
```2) To show hint message, please input into ``tipLabel.text`` property
```swift
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"
```3) To show hint image, please add image into ``image`` property
```swift
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.