Skip to content

Releases: material-components/material-components-ios

20.1.1

25 Jan 19:21
Compare
Choose a tag to compare

Component changes

Snackbar

Changes

20.1.0

20.0.0

10 Jan 16:28
Compare
Choose a tag to compare

API changes

Ink

  • Return value of -[MDCInkTouchController initWithView:] changed from nullable instancetype to nonnull instancetype.

ProgressView

  • Added MDCProgressViewBackwardAnimationMode enumeration and -[MDCProgressView backwardProgressAnimationMode] to control how the progress view acts when its progress value is set to a smaller value than the current value.

Component changes

ActivityIndicator

Changes

AppBar

Changes

ButtonBar

Changes

Buttons

Changes

CollectionCells

Changes

Collections

Changes

Dialogs

Changes

FeatureHighlight

Changes

FlexibleHeader

Changes

HeaderStackView

Changes

Ink

Changes

NavigationBar

Changes

OverlayWindow

Changes

PageControl

Changes

Palettes

Changes

ProgressView

Changes

ShadowLayer

Changes

Slider

Changes

Snackbar

Changes

Read more

Release 19.0.4

16 Dec 20:14
Compare
Choose a tag to compare

This point release changes certain podfiles and instructions to refer to the published pod up at CocoaPods.

19.0.3

16 Dec 00:07
Compare
Choose a tag to compare

19.0.3

This point release removes the examples from private/ThumbTrack; they didn't follow our normal conventions and was confusing pod try.

API changes

  • No API changes in this release.

Component changes

  • No component changes in this release.

19.0.2

15 Dec 23:01
Compare
Choose a tag to compare

19.0.2

API changes

  • No API changes in this release.

Component changes

ActivityIndicator

Changes

AppBar

Changes

ButtonBar

Changes

Buttons

Changes

CollectionCells

Changes

CollectionLayoutAttributes

Changes

Collections

Changes

FlexibleHeader

Changes

HeaderStackView

Changes

Ink

Changes

NavigationBar

Changes

PageControl

Changes

Palettes

Changes

ProgressView

Changes

ShadowElevations

Changes

ShadowLayer

Changes

Slider

Changes

Typography

Changes

19.0.1

14 Dec 19:32
Compare
Choose a tag to compare

This point release fixes stale references to MDFFontDiskLoader, MDFSpritedAnimationView, and MDFRobotoFontLoader in our CocoaPods podspec.

API diffs

None.

Component changes

Typography

Changes

19.0.0

14 Dec 19:10
Compare
Choose a tag to compare

API diffs

The following components have been refactored out of MDC into their own repos:

Please note that while MDC's repo is private, there is no way for MDFRobotoFontLoader to formally depend on MDCTypographyFontLoading, even though it informally implements the protocol. This means that MDFRobotoFontLoader can't be used out of the box to configure Typography with Roboto. Once we go public, a pull request to MDFFontDiskLoader will be created to add this convenience. Until that time, you can manually extend your local copy of MDFRobotoFontLoader to declare that it implements MDCTypographyFontLoading.

ShadowLayer

MDCShadowLayer

modified property: shadowMaskEnabled in MDCShadowLayer

Type of change: declaration
From: @property (assign, readwrite, nonatomic) BOOL shadowMaskEnabled;
To: @property (getter=isShadowMaskEnabled, assign, readwrite, nonatomic) BOOL shadowMaskEnabled;

Component changes

ActivityIndicator

Changes

AnimationTiming

Changes

AppBar

Changes

ButtonBar

Changes

Buttons

Changes

CollectionLayoutAttributes

Changes

Collections

Changes

Dialogs

Changes

FeatureHighlight

Changes

FlexibleHeader

Changes

HeaderStackView

Changes

Ink

Changes

NavigationBar

Changes

OverlayWindow

Changes

PageControl

Changes

Palettes

Changes

ProgressView

Changes

ShadowElevations

Changes

ShadowLayer

Changes

Slider

Changes

Snackbar

Changes

Typography

Changes

Release 18.0.0

13 Dec 22:16
Compare
Choose a tag to compare

API diffs

ButtonBar

  • MDCButtonBar is now IB_DESIGNABLE.

MDCButtonBarDelegate

modified method: -buttonBar:viewForItem:layoutHints: in MDCButtonBarDelegate

Type of change: swift declaration
From: func buttonBar(_ buttonBar: MDCButtonBar!, viewForItem barButtonItem: Any!, layoutHints: Any!) -> Any!
To: func buttonBar(_ buttonBar: MDCButtonBar, viewForItem barButtonItem: Any!, layoutHints: Any!) -> Any!

modified method: -buttonBar:viewForItem:layoutHints: in MDCButtonBarDelegate

Type of change: declaration
From: - (UIView *)buttonBar:(MDCButtonBar *)buttonBar viewForItem:(UIBarButtonItem *)barButtonItem layoutHints:(MDCBarButtonItemLayoutHints)layoutHints;
To: - (nonnull UIView *)buttonBar:(nonnull MDCButtonBar *)buttonBar viewForItem:(nonnull UIBarButtonItem *)barButtonItem layoutHints:(MDCBarButtonItemLayoutHints)layoutHints;

MDCButtonBar

modified property: items in MDCButtonBar

Type of change: declaration
From: @property (readwrite, copy, nonatomic) NSArray<UIBarButtonItem *> *items;
To: @property (readwrite, copy, nonatomic, nullable) NSArray<UIBarButtonItem *> *items;

FlexibleHeader

MDCFlexibleHeaderViewController

new method: -updateTopLayoutGuide in MDCFlexibleHeaderViewController

FontDiskLoader

MDCFontDiskLoader

modified class: MDCFontDiskLoader

Type of change: key.deprecation_message
From: ``
To: Use https://github.com/material-foundation/material-font-disk-loader-ios instead.

modified class: MDCFontDiskLoader

Type of change: key.always_deprecated
From: 0
To: 1

HeaderStackView

  • MDCHeaderStackView is now IB_DESIGNABLE.

RobotoFontLoader

MDCRobotoFontLoader

modified class: MDCRobotoFontLoader

Type of change: key.deprecation_message
From: ``
To: Use https://github.com/material-foundation/material-roboto-font-loader-ios instead.

modified class: MDCRobotoFontLoader

Type of change: key.always_deprecated
From: 0
To: 1

SpritedAnimationView

MDCSpritedAnimationView

modified class: MDCSpritedAnimationView

Type of change: key.deprecation_message
From: ``
To: Use https://github.com/material-foundation/material-sprited-animation-view-ios instead.

modified class: MDCSpritedAnimationView

Type of change: key.always_deprecated
From: 0
To: 1

Switch

  • MDCSwitch has been removed, please use UISwitch instead.

Component changes

ActivityIndicator

Changes

AnimationTiming

Changes

AppBar

Changes

ButtonBar

Changes

Buttons

Changes

CollectionCells

Changes

Collections

Changes

Dialogs

Changes

FeatureHighlight

Changes

FlexibleHeader

Changes

FontDiskLoader

Changes

HeaderStackView

Changes

Ink

Changes

NavigationBar

Changes

Read more

Release 17.2.0

08 Dec 20:17
Compare
Choose a tag to compare

API Changes

FlexibleHeader

  • MDCFlexibleHeaderView is now marked IB_DESIGNABLE.

Switch

  • MDCSwitch is completely deprecated and will be removed in the next release. We recommend apps use UISwitch instead.

Component changes

ActivityIndicator

Changes

AnimationTiming

Changes

AppBar

Changes

ButtonBar

Changes

Buttons

Changes

CollectionCells

Changes

CollectionLayoutAttributes

Changes

Collections

Changes

Dialogs

Changes

FeatureHighlight

Changes

FlexibleHeader

Changes

FontDiskLoader

Changes

HeaderStackView

Changes

Ink

Changes

NavigationBar

Changes

OverlayWindow

Changes

PageControl

Changes

Palettes

Changes

ProgressView

Changes

RobotoFontLoader

Changes

ShadowElevations

Changes

ShadowLayer

Changes

Slider

Changes

Snackbar

Changes

SpritedAnimationView

Changes

Switch

Changes

Typography

Changes