v107.0.0
In this major release we deleted the deprecated MDCAlertScheme
and MDCAlertControllerThemer
classes.
Breaking changes
MDCAlertScheme
and MDCAlertControllerThemer
have been deleted. Please use the MDCAlertController (MaterialTheming)
extension instead.
New features
In this release we added a new delegate
property to MDCAlertController
which exposes dialogs lifecycle events that are useful for impression logging. As well as various minor improvements to the Dialogs
component and other bug fixes.
API changes
Dialogs
new property: delegate
in MDCAlertController
new protocol: MDCAlertControllerDelegate
Component changes
BottomSheet
- Add example to reproduce issue 9773 (#9789) (Bryan Oltman)
- KVO
contentInset
property (#9726) (Robert Moore)
Chips
- Add snapshot tests for MDCChipCollectionViewFlowLayout (#9796) (Bryan Oltman)
- Refactor MDCChipCollectionViewFlowLayout (#9799) (Bryan Oltman)
Dialogs
- Adding actions alignment API in a private header. (#9795) (Galia Kaufman)
- Adding alignment snapshot tests (#9801) (Galia Kaufman)
- Adding justified actions alignment calculations to actions size calculations (#9800) (Galia Kaufman)
- Delete deprecated DialogThemer (#9776) (Bryan Oltman)
- Moving actions layout out to simplify layoutSubviews. (#9803) (Galia Kaufman)
- Support impressions logging in Material Design Dialogs. (#9794) (Galia Kaufman)
- Use consistent syntax for float constants (#9750) (Galia Kaufman)