CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

SimpleTooltipKit 0.1.1

SimpleTooltipKit 0.1.1

Maintained by Yukiyuki.




  • By
  • Yukiyuki

Build Status

SimpleTooltipKit

A simple ui framework. Written in Swift

Example

import UIKit
import STKit

final class ViewController: UIViewController {

    var tooltip: STView = STView()

    override func viewDidLoad() {
        super.viewDidLoad()
        let stkit = STKit(view: self.view)
        stkit.setTooltipSize(size: 40)
        self.tooltip = stkit.createTooltip(textString: "This is a simple tooltip example.")
    }

    @IBAction func animateButtonDidTap(_ sender: Any) {
        self.tooltip.animate(duration: 2.0, delay: 1.0, hideDuration: 1.0)
    }
}

Demo

Jan-19-2020 19-03-48