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

Release 42.0.0

Choose a tag to compare

@jverkoey jverkoey released this 08 Dec 20:14
· 5963 commits to stable since this release

Breaking changes

MDCFloatingButtonShapeLargeIcon has been removed.

// Old code
MDCFloatingButton *button = 
    [MDCFloatingButton floatingButtonWithShape:MDCFloatingButtonShapeLargeIcon];

// New code
MDCFloatingButton *button = [[MDCFloatingButton alloc] init];

New deprecations

BottomSheet has a variety of new deprecations.

New features

MDCFloatingButton has a new mode property and can now be expanded.

MDCInkView has a new delegate-based API for responding to animation events.

It's now possible to customize fonts on Tabs.

API changes

ActivityIndicator

MDCActivityIndicatorDelegate

new method: -activityIndicatorModeTransitionDidFinish: in MDCActivityIndicatorDelegate

BottomSheet

UIViewController(MaterialBottomSheet)

deprecated property: mdc_bottomSheetPresentationController in UIViewController(MaterialBottomSheet). Assign an instance of MDCBottomSheetTransition to your view controller's mdm_transitionController.transition instead.

MDCBottomSheetTransitionController

deprecated class: MDCBottomSheetTransitionController. Assign an instance of MDCBottomSheetTransition to your view controller's mdm_transitionController.transition instead.

MDCBottomSheetPresentationControllerDelegate

deprecated protocol: MDCBottomSheetPresentationControllerDelegate. This API will soon be made private. Use MDCBottomSheetController instead.

MDCBottomSheetPresentationController

deprecated class: MDCBottomSheetPresentationController. This API will soon be made private. Use MDCBottomSheetController instead.

Buttons

MDCFloatingButton

new method: -setMaximumSize: in MDCFloatingButton

new property: imageTitleSpace in MDCFloatingButton

new method: -setContentEdgeInsets: in MDCFloatingButton

new method: -setMinimumSize: in MDCFloatingButton

new property: imageLocation in MDCFloatingButton

new method: -setMinimumSize:forShape:inMode: in MDCFloatingButton

new property: mode in MDCFloatingButton

new method: -setHitAreaInsets:forShape:inMode: in MDCFloatingButton

new method: -setContentEdgeInsets:forShape:inMode: in MDCFloatingButton

new method: -setHitAreaInsets: in MDCFloatingButton

new method: -setMaximumSize:forShape:inMode: in MDCFloatingButton

MDCFloatingButtonMode

new enum value: MDCFloatingButtonModeExpanded in MDCFloatingButtonMode

new enum value: MDCFloatingButtonModeNormal in MDCFloatingButtonMode

new enum: MDCFloatingButtonMode

MDCFloatingButtonShape

removed enum value: MDCFloatingButtonShapeLargeIcon in MDCFloatingButtonShape

MDCFloatingButtonImageLocation

new enum value: MDCFloatingButtonImageLocationLeading in MDCFloatingButtonImageLocation

new typedef: MDCFloatingButtonImageLocation

new enum: MDCFloatingButtonImageLocation

new enum value: MDCFloatingButtonImageLocationTrailing in MDCFloatingButtonImageLocation

Ink

MDCInkView

new property: animationDelegate in MDCInkView

MDCInkViewDelegate

new method: -inkAnimationDidStart: in MDCInkViewDelegate

new method: -inkAnimationDidEnd: in MDCInkViewDelegate

new protocol: MDCInkViewDelegate

Tabs

MDCTabBar

new property: selectedItemTitleFont in MDCTabBar

new property: titleTextTransform in MDCTabBar

new property: unselectedItemTitleFont in MDCTabBar

MDCTabBarTextTransform

new enum: MDCTabBarTextTransform

new enum value: MDCTabBarTextTransformAutomatic in MDCTabBarTextTransform

new typedef: MDCTabBarTextTransform

new enum value: MDCTabBarTextTransformUppercase in MDCTabBarTextTransform

new enum value: MDCTabBarTextTransformNone in MDCTabBarTextTransform

Component changes

ActivityIndicator

Changes

AppBar

Changes

BottomAppBar

Changes

BottomNavigation

Changes

BottomSheet

Changes

ButtonBar

Changes

Buttons

Changes

CollectionCells

Changes

Dialogs

Changes

FeatureHighlight

Changes

FlexibleHeader

Changes

HeaderStackView

Changes

Ink

Changes

LibraryInfo

Changes

MaskedTransition

Changes

NavigationBar

Changes

PageControl

Changes

ProgressView

Changes

ShadowLayer

Changes

Snackbar

Changes

Tabs

Changes

TextFields

Changes

Themes

Changes