Material Components for iOS v119.0.0 Release Notes
Release Date: 2020-11-06 // over 3 years ago-
🚀 This major release removes a deprecated MDCFloatingButton API, deprecates MDCTabBar, and provides
✨ enhancements to MDCButton and Tabs.💥 Breaking changes
🚚 MDCFloatingButton's
setVisibleAreaInsets:forShape:inMode:
API has been removed. Use
setCenterVisibleArea:forShape:InMode:
instead.🆕 New deprecations
🗄 MDCTabBar has been deprecated. Please use MDCTabBarView instead.
🆕 New features
MDCFloatingButton now has a
shape
property that can be used to change the button's shape.MDCButton now has a
visibleAreaLayoutGuide
property that can be used to align content against the
button's visible area using AutoLayout.Component changes
Buttons
- Add shape API to allow changing FAB's shape after it is initialized. (Wenyu Zhang)
- Add visibleAreaLayoutGuide for providing anchors to the visible area when centerVisibleArea is set to YES. (Yarden Eitan)
- ⚡️ Apply centerVisibleArea to a FAB with default shape example to reproduce shapeGenerator not getting updated issue on FAB. (Wenyu Zhang)
- ⚡️ Fix cornerRadius change not triggering the update on shapeGenerator when centerVisibleArea is YES. (Wenyu Zhang)
- 🗄 Migrate deprecated visibleAreaInsets API to centerVisibleArea API in FAB typical example. (Wenyu Zhang)
- 🚚 Remove deprecated setVisibleAreaInsets:forShape:inMode: API. (Wenyu Zhang)
- ⚡️ Update note on visibleAreaInsets to indicate it will be deprecated explicitly to prevent future usage. (Wenyu Zhang)
Tabs
- Fallback to scrollable when scrollableCentered is set and VoiceOver is running (Andrew Overton)
- 🗄 Mark MDCTabBar as deprecated. (Alyssa Weiss)
- 💅 Update handling of ripple so that, for non scroll layout styles, it shows ripple on touch down rather than touch up. (Alyssa Weiss)
TextControls
- ✅ add RTL snapshot tests (Andrew Overton)