Latest | 0.1.2 |
---|---|
Homepage | https://github.com/AyusSalleh/WAActionSheetController |
License | MIT |
Platforms | ios 9.0, requires ARC |
Frameworks | UIKit |
Authors |
WAActionSheetController let you create actionsheet that similar to WhatsApp where you can input image and change label font.
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate WAActionSheetController into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'WAActionSheetController', '~> 0.1.2'
Usage
let alert = WAActionSheetController()
alert.addAction(title: "Do Action", titleTextColor: nil, titleFont: nil, icon: nil, iconColor: nil) { (action) in
print("Clicked!")
}
alert.addSystemAction(title: "Cancel", style: .cancel, handler: nil)
self.present(alert, animated: true, completion: nil)
Latest podspec
{ "name": "WAActionSheetController", "platforms": { "ios": "9.0" }, "summary": "WAActionSheetController let you create actionsheet that similar to WhatsApp where you can input image and change label font.", "requires_arc": true, "version": "0.1.2", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Ayus Salleh": "[email protected]" }, "homepage": "https://github.com/AyusSalleh/WAActionSheetController", "source": { "git": "https://github.com/AyusSalleh/WAActionSheetController.git", "tag": "0.1.2" }, "frameworks": "UIKit", "source_files": "WAActionSheetController/**/*.{swift}", "resources": "WAActionSheetController/**/*.{png,jpeg,jpg,storyboard,xib,xcassets}", "swift_version": "4.2" }
Tue, 22 Jan 2019 11:10:11 +0000