Material Components for iOS v117.0.0 Release Notes
Release Date: 2020-09-28 // over 3 years ago-
๐ In this major release, we deleted the
buttonFont
property onMDCAlertController
, added theaccessoryViewHorizontalInset
property toMDCAlertControllerView
, made minor bug fixes, and deprecated numerous APIs across multiple components.๐ฅ Breaking changes
๐ Dialogs
The
buttonFont
property onMDCAlertController
has been deleted. To set a button font in a dialog use the-buttonForAction:
method to get the button, then call-setFont:
on itstitleLabel
.๐ New deprecations
๐ This release contains deprecations in ButtonBar, FeatureHighlight, NavigationBar, FlexibleHeader, AppBar, ThumbTrack, and TabBar. See the component section for specifics.
๐ New features
๐ Dialogs
๐ Dialogs has a new
accessoryViewHorizontalInset
API.Component changes
ActivityIndicator
- โก๏ธ Update default stroke width to be 2.5 (Alyssa Weiss)
AppBar
- ๐ Deprecate API from MDCAppBarNavigationController. (Yarden Eitan)
- ๐ Deprecate AppBar color themer APIs. (Yarden Eitan)
ButtonBar
- ๐ Deprecate inkColor API. (Yarden Eitan)
๐ Dialogs
- Add an accessoryView with a collection example (Galia Kaufman)
- Adding accessoryViewHorizontalInset API (Galia Kaufman)
- ๐ Delete deprecated buttonFont for MDCAlert and make all appropriate changes following deletion (Alyssa Weiss)
- ๐ Deprecate button styling APIs. (Yarden Eitan)
๐ FeatureHighlight
- ๐ Deprecate color themer APIs. (Yarden Eitan)
FlexibleHeader
- ๐ Deprecate MDCFlexibleHeaderMinMaxHeight API. (Yarden Eitan)
- ๐ Deprecate pre iOS 8 ToBeDeprecated APIs. (Yarden Eitan)
NavigationBar
- ๐ Deprecate color themer APIs. (Yarden Eitan)
- ๐ Deprecate typography themer APIs. (Yarden Eitan)
Tabs
- ๐ Deprecate typography themer API. (Yarden Eitan)
- Scroll to selected item when there is an orientation/size change. (Yarden Eitan)
TextControls
- Translate frame to window coordinates in accessibilityPath (Andrew Overton)
private/Math
- ๐ Deprecate all APIs that have a direct standard library equivalent. (Jeff Verkoeyen)
private/ThumbTrack
- ๐ Deprecate Ink APIs. (Yarden Eitan)
Multi-component changes
- Internal change (Jeff Verkoeyen)