Skip to content

Releases: urbn/URBNAlert

Update Window Handling

25 Feb 18:21
3c7a819
Compare
Choose a tag to compare

Now presenting alerts over-top of whichever window is the application's key window.

Swift Package Manager support

15 Oct 02:09
71cc46a
Compare
Choose a tag to compare
Merge pull request #82 from urbn/swift5+SPM

Swift5 & Swift Package Manager Updates

V 3.0.2

27 Sep 16:57
34ec221
Compare
Choose a tag to compare

Update textField delegate method

v3.0, Swift Re-Write

29 Jan 15:16
95b5bbe
Compare
Choose a tag to compare
  • URBNAlert was completely re-written in Swift for v3.0
  • New styling structs to support the existing & new styling of alerts

Added Button Selected State Colors

22 Sep 13:18
Compare
Choose a tag to compare
  • You can now if desired set button selected state colors (background & title)
  • 2 new AlertStyler properties buttonSelectedTitleColor, buttonSelectedBackgroundColor
  • New isSelected property on a URBNAlertAction which you can set if you wish to have a buttons selected state set when the alert is presented

Added Button Container Border Style Options

30 Jun 00:11
Compare
Choose a tag to compare

Following style options were added to URBNAlertStyle. This allows your to give the button container borders if desired. Note these properties have no defaults and both must be set for a side for it to display.

buttonContainerTopBorderWidth
buttonContainerBottomBorderWidth
buttonContainerLeftBorderWidth
buttonContainerRightBorderWidth

buttonContainerTopBorderColor
buttonContainerBottomBorderColor
buttonContainerLeftBorderColor
buttonContainerRightBorderColor

Added customView border style properties

28 Jun 20:47
Compare
Choose a tag to compare

customViewBorderColor
customViewBorderWidth

Added to URBNAlertStyler

Button Highlight Title/Background Color Styles

25 May 14:23
Compare
Choose a tag to compare

Dropping iOS 7 Support in v2.0.0. URBNAlert is now iOS 8+

Breaking Changes

highlightedButtonBackgroundColor renamed to buttonHighlightBackgroundColor
destructiveButtonTitleHighlightColor renamed to destructiveButtonHighlightTitleColor
cancelButtonTitleHighlightColor renamed to cancelButtonHighlightTitleColor

Added the following style options
destructiveButtonHighlightBackgroundColor
cancelButtonHighlightBackgroundColor

Bug Fixes

19 May 01:25
Compare
Choose a tag to compare

Fixed Highlight on Tap of buttons
Fixed bug where vertical separators with a width less than 1 would not show
Added Cancel and Destructive button background and title highlight colors

Vertical Button Separator

17 May 00:00
Compare
Choose a tag to compare

New styler properties added

alertStyler.buttonVerticalSeparatorColor
alertStyler.buttonVerticalSeparatorWidth