AlertFactory is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AlertFactory'
- .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? ❌
brennobemoura, [email protected]
AlertFactory is available under the MIT license. See the LICENSE file for more info.