Awesome Open Source
Awesome Open Source

AlertFactory

CI Status Version License Platform

Installation

AlertFactory is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AlertFactory'

Definitions


1. RawAlert

  • .with(title: Title) ✅
  • .with(text: Text) ✅
  • .otherButton(title: String, onTap: (() -> Void)?=nil) ✅
  • .cancelButton(title: String, onTap: (() -> Void)?=nil) ✅
  • .destructiveButton(title: String, onTap: (() -> Void)? = nil) ✅
  • .onDismiss( _ completion: (() -> Void)?) ❌
  • .present(completion: (() -> Void)? = nil) ❌
  • .append() ❌
  • .asAlertView() -> UIViewController? ❌

Author

brennobemoura, [email protected]

License

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

End

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Swift (65,167
String (42,391
Alert (7,568
Completion (5,121
Uialertcontroller (66
Alertcontroller (28