Latest 0.0.2
License MIT
Platforms ios 8.0, requires ARC
Frameworks SpriteKit

PPParticleButton is a UIButton subClass it has a cool tap animation, even though it can be used anywhere you can use a UIButton.
PPParticleButton uses SKEmitterNode of SpriteKit, to create the tap animation.
alt animation image


  • iOS 8.0+
  • Xcode 7.2+


Create a Podfile.

platform :ios, '8.0'
pod 'PPParticleButton'

Execute ‘pod install’

$ pod install


  1. Select File->New->File…->Resource->SpriteKit Particle File, and create a sksFile.

  2. Cutomize the SksFile on Xcode.
    Cutomize the SksFile

  3. Initialize a PPParticleButton class on code. or set to "PPParticleButton" of button’s className on storyboard.
    Set to

  4. And only after you set the sksFile name (excluding the extension) to particleFileNameMap property of PPPerticleButton.
  • When tapped, works animation always.
ppparticleButton.particleFileNameMap[PPParticleButtonEffectType.Normal] = "sksFile name"

  • When tapped, works animation during button unselected.
ppparticleButton.particleFileNameMap[PPParticleButtonEffectType.UnSelected] = "sksFile name"

  • When tapped, works animation during selected.
ppparticleButton.particleFileNameMap[PPParticleButtonEffectType.Selected] = "sksFile name"


For more information, please refer to PPParticleButtonExample project.

Latest podspec

    "name": "PPParticleButton",
    "version": "0.0.2",
    "summary": "PPParticleButton can particle effect when tapped.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "HIkaruSato": "[email protected]"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "0.0.2"
    "source_files": "PPParticleButton/*.swift",
    "frameworks": "SpriteKit",
    "requires_arc": true

Pin It on Pinterest

Share This