v59.0.0
This major release removed the remaining encoding/decoding behaviors from components (tracking project) and fixed a variety of bugs in FlexibleHeader with relation to safe area insets.
Breaking changes
AppBar, TextFields, BottomNavigation, and Ink all removed support for encoding/decoding their custom properties.
New features
FlexibleHeader has a new behavior, inferTopSafeAreaInsetFromViewController, which allows the flexible header to determine its safe area insets from its view controller context, rather than always assuming that the header will consume the entire screen. This new behavior is most useful in extensions and on the iPad when presenting modal dialogs or popovers. To enable the new behavior, you simply set inferTopSafeAreaInsetFromViewController on MDCFlexibleHeaderViewController to YES.
API changes
FlexibleHeader
MDCFlexibleHeaderView
new property: topSafeAreaGuide in MDCFlexibleHeaderView
MDCFlexibleHeaderViewController
new property: inferTopSafeAreaInsetFromViewController in MDCFlexibleHeaderViewController
TextFields
MDCTextInputControllerLegacyFullWidth
modified class: MDCTextInputControllerLegacyFullWidth
| Type of change: | Declaration |
|---|---|
| From: | @interface MDCTextInputControllerLegacyFullWidth : MDCTextInputControllerFullWidth <NSSecureCoding> |
| To: | @interface MDCTextInputControllerLegacyFullWidth : MDCTextInputControllerFullWidth |
MDCTextInputUnderlineView
modified class: MDCTextInputUnderlineView
| Type of change: | Declaration |
|---|---|
| From: | @interface MDCTextInputUnderlineView : UIView <NSCopying, NSSecureCoding> |
| To: | @interface MDCTextInputUnderlineView : UIView <NSCopying> |
MDCTextInputController
modified protocol: MDCTextInputController
| Type of change: | Declaration |
|---|---|
| From: | @protocol MDCTextInputController <NSObject, NSSecureCoding, NSCopying, MDCTextInputPositioningDelegate> |
| To: | @protocol MDCTextInputController <NSObject, NSCopying, MDCTextInputPositioningDelegate> |
Component changes
AppBar
Breaking changes
Ink
Breaking changes
TextFields
Breaking changes
BottomAppBar
Changes
- Fix example (#4616) (Robert Moore)
BottomSheet
Changes
- Replacing typeof(self) by __typeof(self) (#4617) (Jérôme Lebel)
BottomNavigation
Breaking changes
FlexibleHeader
Changes
- Add behavior for enabling contextual safe area insets (#4596) (featherless)
- Fix iPhone X status bar bug when changing orientation. (#4592) (featherless)
- Fix inconsistent shifting behavior when deceleration ends. (#4622) (featherless)
- Improved height consistency when horizontally paging. (#4601) (featherless)
- Remove Swift typical use example. (#4595) (featherless)