Skip to content

Releases: material-components/material-components-ios

v51.0.0

30 Mar 19:44
Compare
Choose a tag to compare

Breaking changes

TextFields

MDCTextInputControllerLegacyDefault now subclasses MDCTextInputControllerBase instead of MDCTextInputControllerFloatingPlaceholder.

MDCTextInputControllerLegacyDefault

modified class: MDCTextInputControllerLegacyDefault

Type of change: Swift declaration
From: class MDCTextInputControllerLegacyDefault : MDCTextInputControllerFloatingPlaceholder
To: class MDCTextInputControllerLegacyDefault : MDCTextInputControllerBase

modified class: MDCTextInputControllerLegacyDefault

Type of change: Declaration
From: @interface MDCTextInputControllerLegacyDefault : NSObject <MDCTextInputControllerFloatingPlaceholder>
To: @interface MDCTextInputControllerLegacyDefault : MDCTextInputControllerBase

API changes

TextFields

MDCTextInputControllerLegacyDefault

modified class: MDCTextInputControllerLegacyDefault

Type of change: Swift declaration
From: class MDCTextInputControllerLegacyDefault : MDCTextInputControllerFloatingPlaceholder
To: class MDCTextInputControllerLegacyDefault : MDCTextInputControllerBase

modified class: MDCTextInputControllerLegacyDefault

Type of change: Declaration
From: @interface MDCTextInputControllerLegacyDefault : NSObject <MDCTextInputControllerFloatingPlaceholder>
To: @interface MDCTextInputControllerLegacyDefault : MDCTextInputControllerBase

MDCTextInputControllerLegacyFullWidth

modified class: MDCTextInputControllerLegacyFullWidth

Type of change: Swift declaration
From: class MDCTextInputControllerLegacyFullWidth : MDCTextInputController
To: class MDCTextInputControllerLegacyFullWidth : MDCTextInputControllerFullWidth

modified class: MDCTextInputControllerLegacyFullWidth

Type of change: Declaration
From: @interface MDCTextInputControllerLegacyFullWidth : NSObject <MDCTextInputController>
To: @interface MDCTextInputControllerLegacyFullWidth : MDCTextInputControllerFullWidth <NSSecureCoding>

Component changes

FeatureHighlight

Changes

TextFields

Changes

Snackbar

Changes


v50.0.0

29 Mar 13:12
Compare
Choose a tag to compare

Breaking change

MDCTabBarFontThemer and MDCBottomAppBarColorThemer changed a argument to nonnull from nullable.

API changes

BottomNavigation

MDCBottomNavigationBar

new property: backgroundColor in MDCBottomNavigationBar

new property: barTintColor in MDCBottomNavigationBar

Chips

MDCChipView

new property: minimumSize in MDCChipView

Collections

MDCCollectionViewStyling

new property: cardBorderRadius in MDCCollectionViewStyling

TextFields

MDCTextInputController

new property: textInputFont in MDCTextInputController

new property: textInputFontDefault in MDCTextInputController

Component changes

Tabs

Changes

MaskedTransition

Changes

FeatureHighlight

Changes

AppBar

Changes

Ink

Changes

CollectionCells

Changes

Buttons

Changes

ButtonBar

Changes

TextFields

Changes

Chips

Changes

Snackbar

Changes

Cards

Changes

BottomAppBar

Changes

Slider

Changes

NavigationBar

Changes

OverlayWindow

Changes

LibraryInfo

Changes

ShadowLayer

Changes

ActivityIndicator

Changes

BottomSheet

Changes

Typography

Changes

Dialogs

Changes

BottomNavigation

Changes

Read more

v49.0.0

20 Mar 21:11
Compare
Choose a tag to compare

Breaking changes

BottomAppBar

MDCBottomAppBarView

NS_UNAVAILABLE property: backgroundColor in MDCBottomAppBarView

API changes

BottomAppBar

MDCBottomAppBarView

new property: barTintColor in MDCBottomAppBarView

NS_UNAVAILABLE property: backgroundColor in MDCBottomAppBarView

new property: shadowColor in MDCBottomAppBarView

new property: backgroundColor in MDCBottomAppBarView

Dialogs

MDCAlertControllerView

new property: titleColor in MDCAlertControllerView

new property: mdc_adjustsFontForContentSizeCategory in MDCAlertControllerView

new class: MDCAlertControllerView

new property: titleFont in MDCAlertControllerView

new property: buttonColor in MDCAlertControllerView

new property: buttonFont in MDCAlertControllerView

new property: messageColor in MDCAlertControllerView

new property: messageFont in MDCAlertControllerView

Component changes

Snackbar

Changes

BottomAppBar

Changes

Dialogs

Changes

Themes

Changes

v48.0.0

16 Mar 18:39
Compare
Choose a tag to compare

Breaking changes

removed property: highlightedButtonTextColor in MDCSnackbarMessage

New deprecations

MDCSnackbarMessage

deprecated property: buttonTextColor in MDCSnackbarMessage

MDCSnackbarMessageView()

modified property: snackbarMessageViewTextColor in MDCSnackbarMessageView()

Type of change: Deprecation message
From: ``
To: Use messsageTextColor instead.

modified property: snackbarMessageViewTextColor in MDCSnackbarMessageView()

Type of change: Deprecation
From: 0
To: 1

modified property: snackbarMessageViewTextColor in MDCSnackbarMessageView()

Type of change: parent.usr
From: c:objc(cs)MDCSnackbarMessageView
To: c:objc(ext)MDCSnackbarMessageView@MDCSnackbarMessageView.h@2959

New features

API changes

Snackbar

MDCSnackbarMessageView

new property: messageTextColor in MDCSnackbarMessageView

new method: -buttonTitleColorForState: in MDCSnackbarMessageView

new property: mdc_adjustsFontForContentSizeCategory in MDCSnackbarMessageView

new method: -setButtonTitleColor:forState: in MDCSnackbarMessageView

MDCSnackbarMessage

new property: usesLegacySnackbar in MDCSnackbarMessage

removed property: highlightedButtonTextColor in MDCSnackbarMessage

removed property: buttonTextColor in MDCSnackbarMessage

MDCSnackbarMessageView()

new method: -snackbarMessageViewTextColor in snackbarMessageViewTextColor in MDCSnackbarMessageView()

new category: MDCSnackbarMessageView()

new method: -setSnackbarMessageViewTextColor: in snackbarMessageViewTextColor in MDCSnackbarMessageView()

modified property: snackbarMessageViewTextColor in MDCSnackbarMessageView()

Type of change: Deprecation message
From: ``
To: Use messsageTextColor instead.

modified property: snackbarMessageViewTextColor in MDCSnackbarMessageView()

Type of change: Deprecation
From: 0
To: 1

modified property: snackbarMessageViewTextColor in MDCSnackbarMessageView()

Type of change: parent.usr
From: c:objc(cs)MDCSnackbarMessageView
To: c:objc(ext)MDCSnackbarMessageView@MDCSnackbarMessageView.h@2959

Component changes

Tabs

Changes

FeatureHighlight

Changes

Ink

Changes

Buttons

Changes

TextFields

Changes

Snackbar

Changes

BottomSheet

Changes

Themes

Changes

Palettes

Changes

v47.0.0

15 Mar 14:43
Compare
Choose a tag to compare

Breaking changes

Cards

MDCCardCollectionCell

removed property: selectedImageTintColor in MDCCardCollectionCell

removed property: selectedImage in MDCCardCollectionCell

New deprecations

New features

API changes

Cards

MDCCardCollectionCell

new method: -setVerticalImageAlignment:forState: in MDCCardCollectionCell

new method: -setImageTintColor:forState: in MDCCardCollectionCell

new method: -horizontalImageAlignmentForState: in MDCCardCollectionCell

new method: -imageForState: in MDCCardCollectionCell

new method: -imageTintColorForState: in MDCCardCollectionCell

new method: -setImage:forState: in MDCCardCollectionCell

new method: -verticalImageAlignmentForState: in MDCCardCollectionCell

new method: -setHorizontalImageAlignment:forState: in MDCCardCollectionCell

removed property: selectedImageTintColor in MDCCardCollectionCell

removed property: selectedImage in MDCCardCollectionCell

modified class: MDCCardCollectionCell

MDCCardCellVerticalImageAlignment

new enum value: MDCCardCellVerticalImageAlignmentBottom in MDCCardCellVerticalImageAlignment

new typedef: MDCCardCellVerticalImageAlignment

new enum: MDCCardCellVerticalImageAlignment

new enum value: MDCCardCellVerticalImageAlignmentCenter in MDCCardCellVerticalImageAlignment

new enum value: MDCCardCellVerticalImageAlignmentTop in MDCCardCellVerticalImageAlignment

MDCCardCellHorizontalImageAlignment

new enum value: MDCCardCellHorizontalImageAlignmentRight in MDCCardCellHorizontalImageAlignment

new enum value: MDCCardCellHorizontalImageAlignmentCenter in MDCCardCellHorizontalImageAlignment

new typedef: MDCCardCellHorizontalImageAlignment

new enum: MDCCardCellHorizontalImageAlignment

new enum value: MDCCardCellHorizontalImageAlignmentLeft in MDCCardCellHorizontalImageAlignment

Component changes

Tabs

Changes

FeatureHighlight

Changes

Ink

Changes

CollectionCells

Changes

ButtonBar

Changes

TextFields

Changes

Snackbar

Changes

Cards

Changes

NavigationBar

Changes

BottomSheet

Changes

BottomNavigation

Changes

PageControl

Changes

Collections

Changes

Themes

Changes

v46.1.1

05 Mar 17:26
Compare
Choose a tag to compare

Component changes

CollectionCells

Changes

v46.1.0

28 Feb 18:17
Compare
Choose a tag to compare

API changes

ActivityIndicator

MDCActivityIndicator

new method: -setProgress:animated: in MDCActivityIndicator

Themes

MDCTonalPalette

modified class: MDCTonalPalette

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

modified class: MDCTonalPalette

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

Component changes

Tabs

Changes

MaskedTransition

Changes

FeatureHighlight

Changes

Ink

Changes

CollectionCells

Changes

Buttons

Changes

ButtonBar

Changes

TextFields

Changes

Chips

Changes

Snackbar

Changes

Cards

Changes

BottomAppBar

Changes

NavigationBar

Changes

ShadowLayer

Changes

ActivityIndicator

Changes

BottomSheet

Changes

BottomNavigation

Changes

PageControl

Changes

Collections

Changes

HeaderStackView

Changes

FlexibleHeader

Changes

Read more

v46.0.0

26 Feb 23:55
Compare
Choose a tag to compare

Breaking changes

BottomSheets

Remove Material Motion from the BottomSheets component as it was causing crashes on iOS 8.


v45.0.0

13 Feb 23:47
Compare
Choose a tag to compare

API changes

Dialogs

MDCDialogTransition

removed property: dismissOnBackgroundTap in MDCDialogTransition

removed class: MDCDialogTransition

TextFields

MDCTextInputUnderlineView

modified class: MDCTextInputUnderlineView

Type of change: Swift declaration
From: class MDCTextInputUnderlineView : UIView, NSCopying, NSCoding
To: class MDCTextInputUnderlineView : UIView, NSCopying, NSSecureCoding

modified class: MDCTextInputUnderlineView

Type of change: Declaration
From: @interface MDCTextInputUnderlineView : UIView <NSCopying, NSCoding>
To: @interface MDCTextInputUnderlineView : UIView <NSCopying, NSSecureCoding>

MDCTextInputController

modified protocol: MDCTextInputController

Type of change: Swift declaration
From: protocol MDCTextInputController : NSObjectProtocol, NSCoding, NSCopying, MDCTextInputPositioningDelegate
To: protocol MDCTextInputController : NSObjectProtocol, NSSecureCoding, NSCopying, MDCTextInputPositioningDelegate

modified protocol: MDCTextInputController

Type of change: Declaration
From: @protocol MDCTextInputController <NSObject, NSCoding, NSCopying, MDCTextInputPositioningDelegate>
To: @protocol MDCTextInputController <NSObject, NSSecureCoding, NSCopying, MDCTextInputPositioningDelegate>

Component changes

BottomNavigation

Changes

Cards

Changes

Dialogs

Changes

TextFields

Changes


44.6.1

09 Feb 23:14
Compare
Choose a tag to compare

44.6.1

Component changes

MDCIcons

Added extra guard to prevent crash cause by adding nil to a NSCache.