Material Components for iOS v107.0.0 Release Notes
Release Date: 2020-02-28 // about 4 years ago-
๐ In this major release we deleted the deprecated
MDCAlertScheme
andMDCAlertControllerThemer
classes.๐ฅ Breaking changes
MDCAlertScheme
andMDCAlertControllerThemer
have been deleted. Please use theMDCAlertController (MaterialTheming)
extension instead.๐ New features
๐ In this release we added a new
delegate
property toMDCAlertController
which exposes dialogs lifecycle events that are useful for impression logging. As well as various minor improvements to theDialogs
component and other bug fixes.API changes
๐ Dialogs
๐ new property:
delegate
inMDCAlertController
๐ 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)
TextField