Skip to content

Releases: rayhannabi/RNAlertController

API Restructuring and New Presentation Methods

17 Jan 07:10
bd47159
Compare
Choose a tag to compare

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 to setAttributedMessageText(_:)

v0.7.1: Merge pull request #99 from rayhannabi/hotfix/podspec-issue

15 Jan 08:36
3a8fa21
Compare
Choose a tag to compare

Added Checkbox Support

15 Jan 08:29
679b2bf
Compare
Choose a tag to compare

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

05 Dec 09:05
91fe07d
Compare
Choose a tag to compare

v0.6.8: Merge pull request #88 from rayhannabi/release/0.6.8

16 Nov 16:23
42d74c8
Compare
Choose a tag to compare

Attributed Message Support

24 Oct 10:35
7971f70
Compare
Choose a tag to compare
Merge pull request #85 from rayhannabi/release/0.6.7

Release/0.6.7

Updated Date Picker Support

11 Oct 11:59
6852845
Compare
Choose a tag to compare

Date picker has the options to set maximumDate and minimumDate.

Date Picker Support

07 Oct 10:17
6e8d870
Compare
Choose a tag to compare
Date Picker Support Pre-release
Pre-release
Merge pull request #77 from rayhannabi/release/0.6.6.beta.2

Release/0.6.6.beta.2

iOS 13 Support + Dark Mode Support

27 Sep 14:22
254fe00
Compare
Choose a tag to compare
Pre-release
Merge pull request #73 from rayhannabi/release/0.6.6.beta.1

Release/0.6.6.beta.1

v0.6.5

05 Sep 17:01
f9a32f5
Compare
Choose a tag to compare
Lightweight framework