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

v55.3.0

Choose a tag to compare

@yarneo yarneo released this 30 May 17:51
· 4914 commits to stable since this release

This minor release includes added customization to MDCDialogPresentationController, better topLayoutGuide support for MDCFlexibleHeader, doc improvements and other small bug fixes.

New features

Flexible header has a new behavioral flag for opting in to better topLayoutGuide support. This is primarily useful when using the flexible header container view controller. To opt in to this new behavior, do the following:

let container = MDCFlexibleHeaderContainerViewController()
container.isTopLayoutGuideAdjustmentEnabled = true

Dialogs now offer customizable cornerRadius support to enable proper shadowing. You can set the dialog corner radius like so:

// We set the corner radius to adjust the shadow that is implemented via the trackingView in the
// presentation controller.
if let presentationController = presentedController.mdc_dialogPresentationController {
  presentationController.dialogCornerRadius = presentedController.view.layer.cornerRadius
}

API changes

Dialogs

MDCDialogPresentationController

new property: dialogCornerRadius in MDCDialogPresentationController

FlexibleHeader

MDCFlexibleHeaderContainerViewController

new property: topLayoutGuideAdjustmentEnabled in MDCFlexibleHeaderContainerViewController

MDCFlexibleHeaderViewController(ToBeDeprecated)

new category: MDCFlexibleHeaderViewController(ToBeDeprecated)

moved method: -updateTopLayoutGuide from class MDCFlexibleHeaderViewController to category MDCFlexibleHeaderViewController(ToBeDeprecated)

MDCFlexibleHeaderViewController

new property: topLayoutGuideAdjustmentEnabled in MDCFlexibleHeaderViewController

new property: topLayoutGuideViewController in MDCFlexibleHeaderViewController

Component changes

Tabs

Changes

FeatureHighlight

Changes

AppBar

Changes

Buttons

Changes

ButtonBar

Changes

TextFields

Changes

Chips

Changes

Snackbar

Changes

Cards

Changes

BottomAppBar

Changes

Slider

Changes

NavigationBar

Changes

ActivityIndicator

Changes

BottomSheet

Changes

Dialogs

Changes

BottomNavigation

Changes

PageControl

Changes

FlexibleHeader

Changes

ProgressView

Changes