Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

v59.0.0

Choose a tag to compare

@jverkoey jverkoey released this 25 Jul 18:49
· 4746 commits to stable since this release

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

BottomSheet

Changes

BottomNavigation

Breaking changes

FlexibleHeader

Changes