Latest 0.1.1
Homepage https://github.com/kumarpramod017/PKImageSpark
License MIT
Platforms ios 10.0
Authors

CocoaPods
codebeat badge

Some Cool Animations written in Swift

preview

Requirements

  • iOS 8.0+
  • Xcode 9.2

Installation

For manual instalation, drag Source folder into your project.

os use CocoaPod adding this line to you Podfile:

pod 'PKImageSpark'

Usage

In Code

1) Create a instance of PKImageSpark with customised of default configurations and pass an UIImage that will spark

2) Just call startSparking() method for animation

Example:

let confg = PKSparkConfiguration()
confg.sparkOnView = self.view
confg.sparkGenerationView = self.clickButton
confg.totalNumberOfSparkImages = 15
confg.sparkAnimation = .bubbleToUpSide

let sparkAnimation = PKImageSpark(withImage: #imageLiteral(resourceName: "ic_love"), configuration: confg)
sparkAnimation.startSparking()

Licence

PKImageSpark is released under the MIT license.

Latest podspec

{
    "name": "PKImageSpark",
    "version": "0.1.1",
    "summary": "Show some action on event or action.",
    "description": "Some cool animations that can be used to show an animation on any event action.",
    "homepage": "https://github.com/kumarpramod017/PKImageSpark",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Pramod Kumar": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kumarpramod017/PKImageSpark.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "PKImageSparkDemo/PKImageSpark/*.swift",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4"
    }
}

Pin It on Pinterest

Share This