Releases: urbn/URBNAlert
Update Window Handling
Swift Package Manager support
Merge pull request #82 from urbn/swift5+SPM Swift5 & Swift Package Manager Updates
V 3.0.2
Update textField delegate method
v3.0, Swift Re-Write
- 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
- 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
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
customViewBorderColor
customViewBorderWidth
Added to URBNAlertStyler
Button Highlight Title/Background Color Styles
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
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
New styler properties added
alertStyler.buttonVerticalSeparatorColor
alertStyler.buttonVerticalSeparatorWidth