Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.02 KB

File metadata and controls

48 lines (32 loc) · 1.02 KB

ios Floaters

Language GitHub license

Easily add animated icons/emoji/images, similar to the Periscope floating hearts effect.

[ Updated for Swift 4 ]

Usage

Usage is as easy as:

@IBOutlet weak var floaterView: Floater!

@IBAction func startTapped(sender: AnyObject) {
floaterView.startAnimation()
}

@IBAction func endTapped(sender: AnyObject) {
floaterView.stopAnimation()
}

// Change the density like ... ( look at example )
floaterView.density = 25

Take a look at the project to see a full example.

Requirements

  • iOS 8 or later
  • Xcode 6 or later

Author

Razvigor Andreev - helpMeCodeSwift @ Twitter http://helpMeCodeSwift.com

License

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