Material Components for iOS v47.0.0 Release Notes
-
๐ฅ Breaking changes
Cards
MDCCardCollectionCell
โ removed property:
selectedImageTintColor
inMDCCardCollectionCell
โ removed property:
selectedImage
inMDCCardCollectionCell
๐ New deprecations
๐ New features
API changes
Cards
MDCCardCollectionCell
๐ new method:
-setVerticalImageAlignment:forState:
inMDCCardCollectionCell
๐ new method:
-setImageTintColor:forState:
inMDCCardCollectionCell
๐ new method:
-horizontalImageAlignmentForState:
inMDCCardCollectionCell
๐ new method:
-imageForState:
inMDCCardCollectionCell
๐ new method:
-imageTintColorForState:
inMDCCardCollectionCell
๐ new method:
-setImage:forState:
inMDCCardCollectionCell
๐ new method:
-verticalImageAlignmentForState:
inMDCCardCollectionCell
๐ new method:
-setHorizontalImageAlignment:forState:
inMDCCardCollectionCell
โ removed property:
selectedImageTintColor
inMDCCardCollectionCell
โ removed property:
selectedImage
inMDCCardCollectionCell
modified class:
MDCCardCollectionCell
MDCCardCellVerticalImageAlignment
๐ new enum value:
MDCCardCellVerticalImageAlignmentBottom
inMDCCardCellVerticalImageAlignment
๐ new typedef:
MDCCardCellVerticalImageAlignment
๐ new enum:
MDCCardCellVerticalImageAlignment
๐ new enum value:
MDCCardCellVerticalImageAlignmentCenter
inMDCCardCellVerticalImageAlignment
๐ new enum value:
MDCCardCellVerticalImageAlignmentTop
inMDCCardCellVerticalImageAlignment
MDCCardCellHorizontalImageAlignment
๐ new enum value:
MDCCardCellHorizontalImageAlignmentRight
inMDCCardCellHorizontalImageAlignment
๐ new enum value:
MDCCardCellHorizontalImageAlignmentCenter
inMDCCardCellHorizontalImageAlignment
๐ new typedef:
MDCCardCellHorizontalImageAlignment
๐ new enum:
MDCCardCellHorizontalImageAlignment
๐ new enum value:
MDCCardCellHorizontalImageAlignmentLeft
inMDCCardCellHorizontalImageAlignment
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)
Themes
๐ Changes
- ๐ [Collections|TextFields|Themes] Removed dead store static analyzer errors (#2999) (Yura Samsoniuk)