Skip to content

Releases: rayhannabi/RNAlertController

Alert Window Presentation

02 Sep 16:47
e99f7f4
Compare
Choose a tag to compare

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. Use present(on:completion:) instead.
  • Modified present(on:completion:) to allow nil 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

02 Sep 13:46
0a8c118
Compare
Choose a tag to compare
Pre-release
Merge pull request #40 from rayhannabi/release/0.6.2.beta.2

Release/0.6.2.beta.2

Alert Window Layer

30 Aug 12:13
48b5935
Compare
Choose a tag to compare
Alert Window Layer Pre-release
Pre-release
Merge pull request #37 from rayhannabi/release/0.6.2.beta.1

Release/0.6.2.beta.1

Minor Update

30 Aug 10:50
46b9243
Compare
Choose a tag to compare

Description

This update a minor change related to alert presentation.

Changelog

Updated method definition of show(completion:) method

Add Objective-C Support

29 Aug 11:17
fec4ec6
Compare
Choose a tag to compare

Description

  • Fixed a bug. See #27
  • Added Objective-C support. See #30

Changelog

WARNING
This update might break your code

  • Updated show() method
  • Renamed setImage(_:) to setBannerImage(_:)
  • Marked classes @objc to provide Objective-C support
  • Changed struct AlertButtonType to class

Speed Improvements

24 Aug 18:11
fee6d4b
Compare
Choose a tag to compare

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(). Argument animated is no longer needed so removed.

More Native Looks

23 Aug 19:42
d47ae21
Compare
Choose a tag to compare

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

22 Aug 13:55
e4d4226
Compare
Choose a tag to compare

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

21 Aug 19:24
e4d4226
Compare
Choose a tag to compare
Merge pull request #14 from rayhannabi/release/0.4.1

Release/0.4.1

Update with URL Support

21 May 09:48
6a9f2d5
Compare
Choose a tag to compare
Merge pull request #10 from rayhannabi/release/0.4.0

Release/0.4.0