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

JudyPopBubble 0.0.3

JudyPopBubble 0.0.3

Maintained by 艾美拉娜, 醉翁之意.



  • By
  • 醉翁之意

JudyPopBubble

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 9.0
  • Xcode 10+
  • Swift 5.0+

Installation

JudyPopBubble is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'JudyPopBubble'

Usage

let judyPopBubble = JudyPopBubble()
// 创建计时器,并以默认模式在当前运行循环中调度它。
animateTimer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { [weak self] timer in
    if let strongSelf = self {
        let image = UIImage(named: imageNames[NSInteger(arc4random_uniform( UInt32((imageNames.count)) ))])
        judyPopBubble.judy_popBubble(withImage: image, inView: strongSelf.view, belowSubview: strongSelf.likeButton)
    }
}

Author

醉翁之意, [email protected]

License

JudyPopBubble is available under the MIT license. See the LICENSE file for more info.