Latest | 0.1.1 |
---|---|
Homepage | https://github.com/kazuteru/KKAlertView |
License | MIT |
Platforms | ios 8.0, requires ARC |
Authors |
[kazuteru/KKAlertView]
(https://github.com/kazuteru/KKAlertView) – You can easily display AlertView with the original animation like Path
Features
- [x] AlertView with the original animation like Path
- [x] You can easily add an original animation to AlertView
Installation
CocoaPods
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"
Manually
Add the KKAlertView directory to your project.
Usage
If you install from cocoapods, You have to write import KKAlertView
.
Code
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()
}
Requirements
- Xcode 6.1 or greater
- iOS7.0(manually only) or greater
Author
Kobashi Kazuki, [email protected]
License
KKAlertView is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "KKAlertView", "version": "0.1.1", "summary": "KKAlertView contains Path like appearing animation and some functions.", "homepage": "https://github.com/kazuteru/KKAlertView", "license": "MIT", "authors": { "kazuteru": "[email protected]" }, "source": { "git": "https://github.com/kazuteru/KKAlertView.git", "tag": "0.1.1" }, "platforms": { "ios": "8.0" }, "requires_arc": true, "source_files": [ "KKAlertView/*.{swift}", "KKAlertView/AnimationManager/*.{swift}" ] }
Mon, 29 Feb 2016 03:32:03 +0000