Releases: urbn/URBNAlert
Releases · urbn/URBNAlert
1.7.1
- Added new alert width style properties to
copyWithZonein 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:
alertMinWidthandalertMaxWidth. Note you must set both if you wish to use them. Set them equal to set a defined width - Deprecated
buttonHorizontalMarginin favor of the new style propertybuttonMarginEdgeInsetsin 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
- 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:
alertMinWidthandalertMaxWidth. Note you must set both if you wish to use them. Set them equal to set a defined width - Deprecated
buttonHorizontalMarginin favor of the new style propertybuttonMarginEdgeInsetsin 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
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 button1.5.1
1.5
- Rotation support with both blur & non-blurred backgrounds
- The message text went from a
UILabelto aUITextView, 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
- New Background Tint Color Style Option (blur must be disabled)
- Width fix for 6+