Skip to content

Releases: sberrevoets/SDCAlertView

7.0.1

15 Sep 18:50
Compare
Choose a tag to compare

Bug Fixes:

  • Avoids an infinite loop/crash when using an action sheet without explicit cancel buttons

7.0 (Swift 3)

14 Sep 18:28
Compare
Choose a tag to compare

This is a compatibility update for Swift 3.

Bug Fixes:

  • Correctly calls the cancel button's handler in action sheets (#161)

6.0 (Swift 2.3)

12 Sep 21:01
Compare
Choose a tag to compare

This is a compatibility update for Swift 2.3.

5.1.1

31 Jul 08:00
Compare
Choose a tag to compare

Bug Fixes:

  • Gives action buttons the button trait for Voice Over

5.1

19 May 05:50
Compare
Choose a tag to compare
5.1

Bug Fixes:

  • Fixes the inability to override visual style properties in a subclass of DefaultVisualStyle. The VisualStyle protocol has been removed and the conforming class been renamed to AlertVisualStyle. The old class name is still available, but marked as deprecated and will be removed in the future.

What's New:

  • Makes an AlertAction's handler public.

5.0

24 Mar 04:43
Compare
Choose a tag to compare
5.0

5.0 is a compatibility update so the project builds in Swift 2.2 and doesn't generate warnings. It also changes the Objective-C names of the public enums, which Swift now supports.

Bug Fixes:

  • Prioritize textColorForAction() over the tintColor of an action
  • Properly exposes visualStyle as a property on SDCAlertController in Objective-C
  • Makes actionLayout a non-optional, allowing it to be exposed to Objective-C
  • Exposes a public init method in DefaultVisualStyle so subclassers don't have to implement this separately
  • Correctly shows buttons if an alert has scrollable content after rotation
  • Fixes incorrect accessibility labels on buttons

4.0.1

29 Dec 15:35
Compare
Choose a tag to compare

Bug Fixes:

  • Fixes incorrect fonts for text in alerts

4.0

27 Dec 19:44
Compare
Choose a tag to compare
4.0

What's New:

  • Adds support for presenting action sheets
  • Implements alert behaviors such as parallax and "tap outside to dismiss"
  • Action highlight colors can be changed with custom visual styles

Changes:
This version introduces other changes that are not compatible with previous
versions of SDCAlertView.

  • The automaticallyFocusFirstTextField property is now implemented as an alert behavior
  • In Objective-C, the presentation and dismissal methods are now named presentAnimated:completion: and dismissAnimated:completion: to follow Objective-C nomenclature more closely
  • The title and message label fonts are removed from VisualStyle. To change the labels' fonts, please use attributedTitle and attributedMessage with NSFontAttributeName instead.
  • setShouldDismissHandler() and setVisualStyle() are now properties named shouldDismissHandler and visualStyle respectively. Their functionality is unchanged.
  • The convenience method showWithTitle(_:message:actionTitle:customView:) has been renamed to alertWithTitle(_:message:actionTitle:customView:) to provide more consistency with the action sheet's counterpart

3.1.1

17 Dec 16:06
Compare
Choose a tag to compare

Bug Fixes:

  • Fixes a retain cycle
  • Resolves an issue that would not correctly disable actions when needed

3.1

15 Dec 05:14
Compare
Choose a tag to compare
3.1

What's New:

  • Adds an option to give the alert a different background color

Bug Fixes:

  • Fixes a bug that would not apply appropriate padding to the labels