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

v82.0.0

Choose a tag to compare

@tidalrunner tidalrunner released this 17 Apr 19:38
· 3287 commits to stable since this release

In this major release, we dropped support for iOS 8 in all components. We also introduced new method and properties for AppBar, BottomSheet and NavigationDrawer.

Breaking changes

This release drops support for iOS 8 and the library, catalog, examples, and demos may no longer build for iOS 8 targets or may crash even if building succeeds. Clients will need to set their minimum deployment targets to iOS 9 or later.

New features

Add support for MDCAppBarNavigationController delegate to pick a tracking scroll view

An optional delegate method was added to allow clients to specify the controller's tracking scroll view. The delegate may return nil if no appropriate tracking scroll view is present.

Swift

func appBarNavigationController(_ navigationController: MDCAppBarNavigationController,
                              trackingScrollViewFor trackingScrollViewForViewController: UIViewController,
                              suggestedTrackingScrollView: UIScrollView?) -> UIScrollView? {
  return trackingScrollView
}

Objective-C

- (UIScrollView *)appBarNavigationController:(MDCAppBarNavigationController *)navigationController
                  trackingScrollViewForViewController:(UIViewController *)viewController
                          suggestedTrackingScrollView:(UIScrollView *)scrollView {
  return self.trackingScrollView;
}

flashScrollIndicators in BottomSheet

MDCBottomSheetController has a new API that will flash the scroll indicators when the view appears.

Swift

bottomSheet.shouldFlashScrollIndicatorsOnAppearance = true;

Objective-C

self.bottomSheet.shouldFlashScrollIndicatorsOnAppearance = YES;

maximumInitialDrawerHeight in NavigationDrawer

Clients can now override the initial drawer height on MDCBottomDrawerViewController with a desired height in points.

Swift

bottomDrawer.maximumInitialDrawerHeight = 1000;

Objective-C

self.bottomDrawer.maximumInitialDrawerHeight = 1000;

API changes

AppBar

MDCAppBarNavigationControllerDelegate

new method: -appBarNavigationController:trackingScrollViewForViewController:suggestedTrackingScrollView: in MDCAppBarNavigationControllerDelegate

BottomSheet

MDCBottomSheetController

new property: shouldFlashScrollIndicatorsOnAppearance in MDCBottomSheetController

NavigationDrawer

MDCBottomDrawerViewController

new property: maximumInitialDrawerHeight in MDCBottomDrawerViewController

MDCBottomDrawerPresentationController

new property: maximumInitialDrawerHeight in MDCBottomDrawerPresentationController

Tabs+Theming

New extension.

Component changes

Multi-component breaking changes

Changes

AppBar

BottomNavigation

BottomSheet

Buttons

Dialogs

NavigationDrawer

Tabs

TextFields

Multi-component changes