Latest 0.0.4
Homepage https://github.com/entotsu/TKSwarmAlert
License MIT
Platforms ios 8.0
Authors

Carthage compatible
Platform
Language
License
[CocoaPods]()

Animation Tool for Alert like Swarm app.

ScreenShot

Demo GIF Animation

Installation

pod 'TKSwarmAlert'
github "entotsu/TKSwarmAlert"

Usage

import TKSwarmAlert

Show

let alert = TKSwarmAlert(backgroundType: .Blur)
alert.show(yourViews)

// If you want
alert.addNextViews(yourViews2)
alert.addNextViews(yourViews3)

Static Views

You can also add non-animated views to alert view.
Please use this method before "show".

alert.addSubStaticView(yourStaticView)

Demo GIF Animation

Event Handler

alert.didDissmissAllViews = {
    println("didDissmissAllViews")
}

TKSWBackgroundType

.TransparentBlack

Demo GIF Animation

.Blur

Demo GIF Animation

.BrightBlur

Demo GIF Animation

Kind of Blur

  • branch master -> UIVisualEffectView
  • branch DynamicBlur -> DynamicBlurView (beautiful but unstable)

Popup view is just a UIView.

So, you can add original view.

Demo GIF Animation

Latest podspec

{
    "name": "TKSwarmAlert",
    "version": "0.0.4",
    "summary": "Animated Alert Library like "Swarm" app.",
    "homepage": "https://github.com/entotsu/TKSwarmAlert",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Takuya.Okamoto": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/entotsu/TKSwarmAlert.git",
        "tag": "0.0.4"
    },
    "source_files": [
        "Classes",
        "TKSwarmAlert/Classes/**/*.{swift}"
    ]
}

Pin It on Pinterest

Share This