Animated alert library like Swarm app.

Overview

TKSwarmAlert

Carthage compatible Platform Language License CocoaPods

Animation Tool for Alert like Swarm app.

ScreenShot

Demo GIF Animation

Installation

CocoaPods

You can use CocoaPods to install TKSwarmAlert by adding it to your Podfile:

platform :ios, '8.0'
use_frameworks!
pod 'TKSwarmAlert'

To get the full benefits import TKSwarmAlert wherever you import UIKit

import UIKit
import TKSwarmAlert

Carthage

Create a Cartfile that lists the framework and run carthage bootstrap. Follow the instructions to add $(SRCROOT)/Carthage/Build/iOS/YourLibrary.framework to an iOS project.

github "entotsu/TKSwarmAlert"

Manually

  1. Download and drop YourLibrary.swift in your project.
  2. Congratulations!

Usage

import TKSwarmAlert

Show

let alert = TKSwarmAlert()
alert.show(type: .BrightBlur, views: [yourViews1, yourViews2, 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

You might also like...
Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.
Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.

SPAlert Popup from Apple Music & Feedback in AppStore. Contains Done, Heart, Error and other presets. Supports Dark Mode. I tried to recreate Apple's

Zingle – An alert will display underneath your UINavigationBar 🎅
Zingle – An alert will display underneath your UINavigationBar 🎅

Zingle Zingle – An alert will display underneath your UINavigationBar 🎅 💥 Note: Zingle has a dependency to have a UINavigationController in your app

A Swift package for iOS/tvOS for easy alert presentation

AlertPresenter Listed on the Swift Package Index and originally posted on my blog. It can be fiddly to handle the presentation of alerts on a specific

PMAlertController is a great and customizable alert that can substitute UIAlertController
PMAlertController is a great and customizable alert that can substitute UIAlertController

PMAlertController is a small library that allows you to substitute Apple's uncustomizable UIAlertController, with a beautiful and totally customizable

Highly configurable iOS Alert Views with custom content views
Highly configurable iOS Alert Views with custom content views

NYAlertViewController NYAlertViewController is a replacement for UIAlertController/UIAlertView with support for content views and UI customization. Fe

Simple Alert View written in Swift, which can be used as a UIAlertController. (AlertController/AlertView/ActionSheet)
Simple Alert View written in Swift, which can be used as a UIAlertController. (AlertController/AlertView/ActionSheet)

DOAlertController Simple Alert View written in Swift, which can be used as a UIAlertController replacement. It supports from iOS7! It is simple and ea

Customizable simple Alert and simple ActionSheet for Swift
Customizable simple Alert and simple ActionSheet for Swift

SimpleAlert It is simple and easily customizable alert. Can be used as UIAlertController. Appetize's Demo Requirements Swift 5.0 iOS 9.0 or later How

Custom alert View to iOS applications
Custom alert View to iOS applications

A simple, easy and custom iOS UIAlertView written in Swift Malert came to facilitates custom alert views as UIAlertController. Malert allows you to pe

Simple DropDown Alert View For Any iOS Projects.
Simple DropDown Alert View For Any iOS Projects.

⚠️ DEPRECATED, NO LONGER MAINTAINED JDropDownAlert JDropDownALert Simple DropDown Alert View For Any iOS Projects. Usage Top let alert = JDropDown

Comments
  • Update to Swift 2.2

    Update to Swift 2.2

    Fixes:

    • Warnings: "Use of string literal for Objective-C selectors is deprecated; use '#selector' instead"
    • 'var' parameters are deprecated and will be removed in Swift 3
    opened by aminaura 1
  • Can't build with Swift 3.1

    Can't build with Swift 3.1

    Hi,

    After updating Xcode to v8.3 I am not able to compile my project, that's because the TKSwarmAlert plugin needs to be recompiled to the latest swift syntax (swift 3.1) !

    error
    opened by JBKaloya 0
  • Views aren't straight

    Views aren't straight

    screen shot 2016-05-24 at 12 07 41 am

    My code:

    let width = view.frame.width - 30
    let myView1 = UIView(x: 15, y: view.center.y - 50, w: width, h: 60)
    myView1.backgroundColor = .redColor()
    
    let myView2 = UIView(x: 15, y: view.center.y - 50, w: width, h: 60)
    myView2.backgroundColor = .greenColor()
    
    let myView3 = UIView(x: 15, y: view.center.y - 50, w: width, h: 60)
    myView3.backgroundColor = .blueColor()
    
    let alert = TKSwarmAlert()
    alert.show(type: .BrightBlur, views: [myView1, myView2, myView3])
    
    opened by lfarah 0
Owner
Takuya Okamoto
Product Designer
Takuya Okamoto
Live animated Alert View for iOS written in Swift

Sweet Alert iOS Beautiful Animated custom Alert View inspired from javascript library SweetAlert. Written in Swift this SweetAlertView can be used in

Sahil 2k Dec 22, 2022
Beautiful animated Login Alert View. Written in Objective-C

UIAlertView - Objective-C Animated Login Alert View written in Swift but ported to Objective-C, which can be used as a UIAlertView or UIAlertControlle

Letovsky 2 Dec 22, 2021
Animated Alert written in SwiftUI.

TransactionAlert Animated Alert written in SwiftUI. Easy to use Get Started Add a TAViewModel instance as an environment object to your Root View in y

null 11 Jul 21, 2022
BPStatusBarAlert is a library that allows you to easily make text-based alert that appear on the status bar and below navigation bar.

BPStatusBarAlert BPStatusBarAlert is a library that allows you to easily make text-based alert that appear on the status bar and below navigation bar.

Ben.Park 131 Aug 12, 2022
AlertTransition is a extensible library for making view controller transitions, especially for alert transitions.

AlertTransition AlertTransition is a extensible library for making view controller transitions, especially for alert transitions. Overview AlertTransi

Loopeer 570 Nov 29, 2022
An easier constructor for UIAlertController. Present an alert from anywhere.

ALRT An easier constructor for UIAlertController. Present an alert from anywhere like this. ALRT.create(.alert, title: "Alert?").addOK().addCancel().s

Masahiro Watanabe 97 Nov 11, 2022
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift

CDAlertView is highly customizable alert popup written in Swift. Usage is similar to UIAlertController. Screenshots Animations Usage Basic usage witho

Candost Dagdeviren 1.1k Dec 30, 2022
A colored alert view for your iOS.

日本語 KRAlertController KRAlertController is a beautiful and easy-to-use alert controller for your iOS written by Swift. Requirements iOS 10.0+ Xcode 10

K.R.Impedance 52 Jun 30, 2022
PMAlertController is a great and customizable alert that can substitute UIAlertController

PMAlertController is a small library that allows you to substitute Apple's uncustomizable UIAlertController, with a beautiful and totally customizable

Paolo Musolino 2.5k Jan 3, 2023
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style.

Introduction Popup Dialog is a simple, customizable popup dialog written in Swift. Features Easy to use API with hardly any boilerplate code Convenien

Orderella Ltd. 3.8k Dec 20, 2022