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

v70.0.0

Choose a tag to compare

@yarneo yarneo released this 21 Nov 21:11
· 4060 commits to stable since this release

This major change removes all property coding behavior from our components. It also includes
performance improvements for NavigationDrawer and a new API for adjusting its content offset.
PageControl now also supports RTL.

Breaking changes

Component properties are no longer encoded or decoded for any component.

New features

Improvements made to Navigation Drawer:

  1. Improvements to the Navigation Drawer's performance by removing unneeded calls to the
    contentViewController's preferredContentSize.
  2. A new API on MDCBottomDrawerViewController: setContentOffsetY:contentOffsetY:animated:
    allowing to manually scroll the content to the desired offset. Setting the contentOffsetY to 0
    will scroll the drawer to the top of the content.

MDCPageControl has a new respectsUserInterfaceLayoutDirection property that, when enabled, causes
the page control to react to RTL layout.

API changes

Buttons

MDCFloatingButton

removed method: -initWithCoder: in MDCFloatingButton

Collections

MDCCollectionViewEditing

new method: -updateReorderCellPosition in MDCCollectionViewEditing

NavigationDrawer

MDCBottomDrawerViewController

new method: -setContentOffsetY:animated: in MDCBottomDrawerViewController

MDCBottomDrawerPresentationController

new property: contentReachesFullscreen in MDCBottomDrawerPresentationController

new method: -setContentOffsetY:animated: in MDCBottomDrawerPresentationController

PageControl

MDCPageControl

new property: respectsUserInterfaceLayoutDirection in MDCPageControl

Slider

MDCSlider

modified class: MDCSlider

Type of change: Swift declaration
From: class MDCSlider : UIControl, NSSecureCoding
To: class MDCSlider : UIControl

modified class: MDCSlider

Type of change: Declaration
From: @interface MDCSlider : UIControl <NSSecureCoding>
To: @interface MDCSlider : UIControl

ColorScheme

MDCTonalPalette

removed method: -initWithCoder: in MDCTonalPalette

modified class: MDCTonalPalette

Type of change: Swift declaration
From: class MDCTonalPalette : NSObject, NSCopying, NSSecureCoding
To: class MDCTonalPalette : NSObject, NSCopying

modified class: MDCTonalPalette

Type of change: Declaration
From: @interface MDCTonalPalette : NSObject <NSCopying, NSSecureCoding>
To: @interface MDCTonalPalette : NSObject <NSCopying>

Component changes

Breaking changes

Buttons

Multi-component breaking changes

Changes

BottomNavigation

BottomSheet

Collections

Dialogs

NavigationDrawer

PageControl

Tabs

Multi-component changes