SwiftPopTipView:https://github.com/MihaelIsaev/SwiftPopTipView
你能给我一些示例代码。
以下是我想要做的一些伪代码:
the form
我不知道为什么SwiftPopTipView.swift中的代码错误
@IBOutlet var username_tf: UITextField!
override func viewDidLoad() {
super.viewDidLoad()
let popTip = SwiftPopTipView(title: "Hello!", message: "This is the test pop tip view!!!")
popTip.popColor = UIColor(red: 63/255, green: 162/255, blue: 232/255, alpha: 1)
popTip.titleColor = UIColor.whiteColor()
popTip.textColor = UIColor.whiteColor()
popTip.presentAnimatedPointingAtView(username_tf, inView: self.view, autodismissAtTime: 2)
}