Skip to content

Releases: urbn/URBNAlert

1.7.1

31 May 22:40

Choose a tag to compare

  • Added new alert width style properties to copyWithZone in URBNAlertStyle

Notes from 1.7:

  • The alert views side margins now always total to 5% of the screens pixel width, no matter which device
  • In addition, you can control the width of the alert using 2 new properties: alertMinWidth and alertMaxWidth. Note you must set both if you wish to use them. Set them equal to set a defined width
  • Deprecated buttonHorizontalMargin in favor of the new style property buttonMarginEdgeInsets in which you can supply the margins to use for each side. This gives you much more control over the position/size of the buttons
  • When setting the alerts loading state to YES, if no text inputs are being used the buttons will now still get disabled

1.7

30 May 15:09

Choose a tag to compare

1.7
  • The alert views side margins now always total to 5% of the screens pixel width, no matter which device
  • In addition, you can control the width of the alert using 2 new properties: alertMinWidth and alertMaxWidth. Note you must set both if you wish to use them. Set them equal to set a defined width
  • Deprecated buttonHorizontalMargin in favor of the new style property buttonMarginEdgeInsets in which you can supply the margins to use for each side. This gives you much more control over the position/size of the buttons
  • When setting the alerts loading state to YES, if no text inputs are being used the buttons will now still get disabled

1.6.1

15 May 20:19

Choose a tag to compare

quickfix for stopLoading method

1.6

15 May 20:11

Choose a tag to compare

1.6

Multiple text inputs now supported

- New method on URBNAlertViewController: `textFieldAtIndex:`. This is how you access a certain textfield if you have multiple - New method: `startLoadingTextFieldAtIndex:` - The property `textField` on URBNAlertViewController still exists, and simply accesses the textfield at index 0; the same goes for `startLoading`

Cancel action type added

- `URBNAlertActionTypeCancel` added. Actions of this type, when buttons do not become disabled - New style properties for a disabled button - You can now also call `setEnabled:` on a URBNAlertAction to disabled it; if its a button

1.5.1

28 Apr 01:46

Choose a tag to compare

  • Fixed a bug happening when modal view controller was pushed on top of a passive alert. If the modal was dismissed before the alert, it would re-added it to the view

1.5

22 Apr 16:41

Choose a tag to compare

1.5
  • Rotation support with both blur & non-blurred backgrounds
  • The message text went from a UILabel to a UITextView, thus supporting scrolling when the message text is very long
  • New styler attributes for text alignment: titleAlignment, messageAlignment
  • New styler attributes for present/dismiss animation: animationDamping, animationInitialVelocity
  • Animation tweaks
  • Some other small fixes/tweaks

New Style Option & Bug Fix

15 Apr 13:03

Choose a tag to compare

  • New Background Tint Color Style Option (blur must be disabled)
  • Width fix for 6+

1.3

13 Apr 17:21

Choose a tag to compare

1.3
  • Added new styling property for destructive buttons: destructiveButtonTitleColor
  • Renamed buttonDestructiveBackgroundColor to destructiveButtonBackgroundColor
  • Added some more documentation to URBNAlertConfig

1.2

04 Apr 00:58

Choose a tag to compare

1.2
  • You can now display an error on an alert if validation fails
  • Fixed issue where the alert would move down to adjust to the keyboard

1.0

23 Mar 14:23

Choose a tag to compare

1.0

first release