v47.0.0
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
- [MDCTabBarViewController] Added NSCoding support. (#3029) (Mohammad Cazi)
- [MDCTabBar] NSCoding support. (#3019) (Mohammad Cazi)
FeatureHighlight
Changes
- Remove use of typeof (#3018) (Robert Moore)
Ink
Changes
CollectionCells
Changes
- [Collections] Fix image sizing (#3027) (ianegordon)
ButtonBar
Changes
- Remove UIAppearance call in themer (#3020) (Robert Moore)
- Update bazel workspace and version to latest. (#3052) (featherless)
TextFields
Changes
- Added test for MDCTextInputControllerBase (#3036) (Yura Samsoniuk)
- Always encode/decode CGFloat as double (#3033) (Yura Samsoniuk)
- Cast to a protocol textInput conforms to (#3037) (Yura Samsoniuk)
- [Collections|TextFields|Themes] Removed dead store static analyzer errors (#2999) (Yura Samsoniuk)
Snackbar
Changes
- Don't call UIAppearance in +initialize (#3048) (Robert Moore)
Cards
Changes
- Added customization of image, image alignment, and image tint for each state. (#3030) (Yarden Eitan)
- Dragons demo for Tint color in Cards (#3046) (Yarden Eitan)
NavigationBar
Changes
- Fix license stanza (#3025) (Robert Moore)
- [ButtonBar] Remove UIAppearance call in themer (#3020) (Robert Moore)
BottomSheet
Changes
- Make MDCBottomSheetPresentationController react to preferred content size changes of the presented view controller. (Material Components iOS Team)
BottomNavigation
Changes
- Fix OS version check (#3015) (Robert Moore)
- Fix memory leak in example (#3017) (Robert Moore)
PageControl
Changes
- Fixing example layout (#3059) (Robert Moore)
Collections
Changes
- [Collections|TextFields|Themes] Removed dead store static analyzer errors (#2999) (Yura Samsoniuk)
- [MDCCollectionViewFlowLayout] Set hasSectionItems in ordinalPositionForListElementWithAttribute (#3049) (strangewiz)