Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

umobi/AlertFactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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