Releases: rayhannabi/RNAlertController
Releases · rayhannabi/RNAlertController
Alert Window Presentation
Description
This update fixes the UIWindow
presentation and removes the show(completion:)
method.
Changelog
WARNING!
This update will break your code
- Updated documentation.
- Removed
show(completion:)
method. Usepresent(on:completion:)
instead. - Modified
present(on:completion:)
to allownil
value for view controller. If no view controller reference is provided,UIWindow
presentation is used.
Example
Previously
alert.show()
Now
alert.present(on: nil, completion:nil) // or
alert.present()
Modified Alert Window Layer
Merge pull request #40 from rayhannabi/release/0.6.2.beta.2 Release/0.6.2.beta.2
Alert Window Layer
Merge pull request #37 from rayhannabi/release/0.6.2.beta.1 Release/0.6.2.beta.1
Minor Update
Description
This update a minor change related to alert presentation.
Changelog
Updated method definition of show(completion:)
method
Add Objective-C Support
Speed Improvements
Description
Alert now loads faster and animations are more graceful.
Changelog
WARNING!
This update might break your code.
- Alert is presented without view controller transition.
- Changed method signature
show()
. Argumentanimated
is no longer needed so removed.
More Native Looks
Description
More native-looking window and buttons. Button has a state-based background now.
Changelog
- New alert window background, a different container is used.
- Buttons have a less opaque background when highlighted.
- Separators are more regular and have translucence effect. Separation is done using UIStackView spacing.
- Background dimming is done using separate animation.
Minor Update
Description
AlertTypes are more native to type :)
Changelog
WARNING
This update might break your code.
Renamed AlertType normal
to default
.
Example:
alertController.addButton(title: "Okay", type: .default, action: nil)
Added convenient show method and larger fonts
Merge pull request #14 from rayhannabi/release/0.4.1 Release/0.4.1
Update with URL Support
Merge pull request #10 from rayhannabi/release/0.4.0 Release/0.4.0