Material Components for iOS v110.1.0 Release Notes
Release Date: 2020-06-29 // almost 4 years ago-
๐ In this minor release, we deprecated
visibleAreaInsets
fromMDCChipView
and addedcenterVisibleArea
API. We annotated several APIs as to be deprecated in Buttons. Ripple support is added to CollectionCells and Collections as well.๐ New deprecations
Chips
๐
visibleAreaInsets
is deprecated.๐ New features
CollectionCells
๐ Ripple is supported as an opt-in behavior.
Objective-C
MDCCollectionCell *cell= [[MDCCollectionCell alloc] init]; cell.enableRippleBehavior = YES;
Swift
let cell = MDCCollectionCell() cell.enableRippleBehavior = true
Chips
๐ง Chips supports
centerVisibleArea
, which is often used to configure invisible part of frame for tappable area.Objective-C
MDChipView *chip = [[MDCChipView alloc] init]; chip.centerVisibleArea = YES;
Swift
let chip = MDCChipView() chip.centerVisibleArea = true
API changes
Chips
๐ new property:
centerVisibleArea
inMDCChipView
CollectionCells
๐ new property:
enableRippleBehavior
inMDCCollectionViewCell
๐ new property:
rippleView
inMDCCollectionViewCell
Collections
๐ new property:
enableRippleBehavior
inMDCCollectionViewController
๐ new method:
- collectionView:rippleTouchController:rippleViewAtIndexPath:
inMDCCollectionViewStylingDelegate
TextFields
๐ new property:
useConstraintsForIntrinsicContentSize
inMDCMultilineTextField
Component changes
ActionSheet
- Fix broken links (Andrew Overton)
AppBar
- ๐ Remove redundant To Be Deprecated annotation. (Jeff Verkoeyen)
BottomNavigation
Buttons
- ๐ Mark more apis as to-be-deprecated. (Jeff Verkoeyen)
Chips
- ๐ Add centerVisibleArea to MDCChipView and deprecate visibleAreaInsets. (Wenyu Zhang)
๐ Dialogs
- ๐ Modify dialogs docs (Andrew Overton)
NavigationDrawer
- ๐ Updated documentation (Josue Lopes)
ProgressView
- ๐ Fix RTL support on MDCProgressGradientView. (Wenyu Zhang)
- Reimplement animation on indeterminate mode to meet specification. (Wenyu Zhang)
- Reverse the start point and end point of indeterminate progress stroke to make it aligning with the animation direction. (Wenyu Zhang)
Snackbar
- ๐ Use the ToBeDeprecated convention for to-be-deprecated APIs. (Jeff Verkoeyen)
TextFields
- โก๏ธ Updates MDCMultilineTextField to better support being embedded in self-sizing cells. (Nobody)
- โก๏ธ Updates MDCMultilineTextField's bottom textfield constraint to use the textInsets as the constant. (Nobody)
private/ThumbTrack
- ๐ Move private MDCDiscreteDotView class into its own header and implementation files. (Bryan Oltman)
Multi-component changes
- Add Ripple as an opt-in for MDCCollections and MDCCollectionCells (Yarden Eitan)
- Delete obsolete markdown files (Andrew Overton)