Latest 1.0
License MIT
Platforms ios 9.0
Dependencies AAViewAnimator

Table of Contents

Swift 4.0 Carthage compatible CocoaPods License MIT Build Status
License MIT [CocoaPods]()


AADialogs – An easy way to handle your custom dialogs using storyboard in iOS.



To run the example project, clone the repo, and run pod install from the Example directory first.


  • iOS 9.0+
  • Xcode 8.0+
  • Swift 3+


AADialogs can be installed using CocoaPods, Carthage, or manually.


AADialogs is available through CocoaPods. To install CocoaPods, run:

$ gem install cocoapods

Then create a Podfile with the following contents:

source ''
platform :ios, '9.0'

target '<Your Target Name>' do
pod 'AADialogs' , '1.0'

Finally, run the following command to install it:

$ pod install


To install Carthage, run (using Homebrew):

$ brew update
$ brew install carthage

Then add the following line to your Cartfile:

github "EngrAhsanAli/AADialogs" "master"

Then import the library in all files where you use it:

import AADialogs

Manual Installation

If you prefer not to use either of the above mentioned dependency managers, you can integrate AADialogs into your project manually by adding the files contained in the Classes folder to your project.

Getting Started

Define your dialog as UIViewController

let alertVC = UIStoryboard(name: #storyboard#, bundle: nil).instantiateViewController(withIdentifier: #withId#)

Show your dialog


Hide your dialog in that view controller

aa_hide_alert(animation: .zoomOut)

Method signature with custom configuration

You can use following properties:

aa_show_alert(duration: TimeInterval,
springDamping: AAViewDamping,
animation: AAViewAnimators,
blurEffect: UIBlurEffectStyle?,
viewController: UIViewController?,
completion: ((Bool, UIViewController) -> ())?) 

aa_hide_alert(duration: TimeInterval,
springDamping: AAViewDamping,
animation: AAViewAnimators,
completion: (() -> ())?)

Contributions & License

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

AADialogs uses AAViewAnimator for custom view animations.
See AAViewAnimator at

Pull requests are welcome! The best contributions will consist of substitutions or configurations for classes/methods known to block the main thread during a typical app lifecycle.

I would love to know if you are using AADialogs in your app, send an email to Engr. Ahsan Ali

Latest podspec

    "name": "AADialogs",
    "version": "1.0",
    "summary": "AADialogs - An easy way to handle your custom dialogs using storyboard",
    "description": "With AADialogs, you can show your custom dialogs using storyboard view controllers, show with custom animations using AAViewAnimator library. This library is so simple you can call it from in any class or from any view controller to show custom dialog.",
    "homepage": "",
    "screenshots": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Ahsan Ali": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.0"
    "platforms": {
        "ios": "9.0"
    "source_files": "AADialogs/Classes/**/*",
    "dependencies": {
        "AAViewAnimator": [
            "~> 1.0"

Pin It on Pinterest

Share This