[kazuteru/KKAlertView] (https://github.com/kazuteru/KKAlertView) - You can easily display AlertView with the original animation like Path
- AlertView with the original animation like Path
- You can easily add an original animation to AlertView
KKAlertView is available through CocoaPods. If you have cocoapods 0.36.0 or greater, you can install it, simply add the following line to your Podfile:
pod "KKAlertView"
Add the KKAlertView directory to your project.
If you install from cocoapods, You have to write import KKAlertView
.
You can use KKAlertViewController like UIAlertConroller.
let alertViewController = KKAlertViewController(title: "2 button alert", message: "How much wood would a woodchuck chuck if a woodchuck could chuck wood?")
alertViewController.addAction(title: "button A", action: { println("Hello EX1") })
alertViewController.addAction(title: "button B", action: { println("Hello EX2") })
alertViewController.showAlert()
}
- Xcode 6.1 or greater
- iOS7.0(manually only) or greater
Kobashi Kazuki, kazuteru.koba@gmail.com
KKAlertView is available under the MIT license. See the LICENSE file for more info.