Releases: rayhannabi/RNAlertController
Releases · rayhannabi/RNAlertController
API Restructuring and New Presentation Methods
WARNING!
This update might break your existing implementation
-
present(on:completion:)
has been changed.
Previously
present(on viewController: UIViewController? = nil, completion: (() -> Void)? = nil)
Now
present(on viewController: UIViewController, completion: (() -> Void)? = nil)
With this new approach, use this method to present modally on a view controller.
-
present(_:)
added.
present(_ completion: (() -> Void)? = nil)
This method presents the alert on window.
-
dismiss(_:)
added.
dismiss(_ completion: (() -> Void)? = nil)
This method dismisses the alert.
setAttributedTextForMessage(_:)
has been renamed tosetAttributedMessageText(_:)
v0.7.1: Merge pull request #99 from rayhannabi/hotfix/podspec-issue
Update podspec version
Added Checkbox Support
To add a checkbox, use the following method:
setCheckboxView(title: String?,
isSelected: Bool,
action: AlertCheckboxAction?) -> RNAlertController
Also added a static initializer. For Objective-C usage:
[RNAlertController alertControllerWithTitle:(NSString *) message:(NSString *)]
v0.6.9: Merge pull request #91 from rayhannabi/release/0.6.9
v0.6.8: Merge pull request #88 from rayhannabi/release/0.6.8
Attributed Message Support
Merge pull request #85 from rayhannabi/release/0.6.7 Release/0.6.7
Updated Date Picker Support
Date picker has the options to set maximumDate
and minimumDate
.
Date Picker Support
Merge pull request #77 from rayhannabi/release/0.6.6.beta.2 Release/0.6.6.beta.2
iOS 13 Support + Dark Mode Support
Merge pull request #73 from rayhannabi/release/0.6.6.beta.1 Release/0.6.6.beta.1
v0.6.5
Lightweight framework