Changelog History
Page 24
-
v54.0.0 Changes
๐ฅ Breaking changes
๐
MDCMaskedTransition
has been removed and replaced withMDCMaskedTransitionController
. You may now useMDCMaskedTransitionController
as a standard UIKit transitioning delegate.๐ New features
๐ง Many components now expose new public APIs for configuring typography, color, and shapes.
API changes
Cards
MDCCardCollectionCell
๐ new property:
shapeGenerator
inMDCCardCollectionCell
MDCCard
๐ new property:
shapeGenerator
inMDCCard
๐ Dialogs
MDCAlertController
๐ new property:
titleColor
inMDCAlertController
๐ new property:
titleFont
inMDCAlertController
๐ new property:
messageFont
inMDCAlertController
๐ new property:
buttonTitleColor
inMDCAlertController
๐ new property:
buttonFont
inMDCAlertController
๐ new property:
messageColor
inMDCAlertController
MaskedTransition
MDCMaskedTransition
โ removed class:
MDCMaskedTransition
โ removed method:
-init
inMDCMaskedTransition
โ removed method:
-initWithSourceView:
inMDCMaskedTransition
โ removed property:
calculateFrameOfPresentedView
inMDCMaskedTransition
MDCMaskedTransitionController
๐ new property:
sourceView
inMDCMaskedTransitionController
๐ new method:
-initWithSourceView:
inMDCMaskedTransitionController
๐ new method:
-init
inMDCMaskedTransitionController
๐ new property:
calculateFrameOfPresentedView
inMDCMaskedTransitionController
๐ new class:
MDCMaskedTransitionController
NavigationBar
MDCNavigationBar
๐ new property:
titleFont
inMDCNavigationBar
๐ new property:
titleTextColor
inMDCNavigationBar
Snackbar
MDCSnackbarManager
๐ new class method:
+buttonTitleColorForState:
inMDCSnackbarManager
๐ new property:
mdc_adjustsFontForContentSizeCategory
inMDCSnackbarManager
๐ new property:
snackbarMessageViewBackgroundColor
inMDCSnackbarManager
๐ new property:
shouldApplyStyleChangesToVisibleSnackbars
inMDCSnackbarManager
๐ new property:
buttonFont
inMDCSnackbarManager
๐ new class method:
+setButtonTitleColor:forState:
inMDCSnackbarManager
๐ new property:
snackbarMessageViewShadowColor
inMDCSnackbarManager
๐ new property:
messageTextColor
inMDCSnackbarManager
๐ new property:
messageFont
inMDCSnackbarManager
modified class method:
+setPresentationHostView:
inMDCSnackbarManager
Type of change: Declaration From: + (void)setPresentationHostView:(UIView *)hostView;
To: + (void)setPresentationHostView:(nullable UIView *)hostView;
modified class method:
+dismissAndCallCompletionBlocksWithCategory:
inMDCSnackbarManager
Type of change: Declaration From: + (void)dismissAndCallCompletionBlocksWithCategory:(NSString *)category;
To: + (void)dismissAndCallCompletionBlocksWithCategory: (nullable NSString *)category;
modified class method:
+suspendMessagesWithCategory:
inMDCSnackbarManager
Type of change: Swift declaration From: class func suspendMessages(withCategory category: Any!) -> MDCSnackbarSuspensionToken!
To: class func suspendMessages(withCategory category: Any!) -> MDCSnackbarSuspensionToken?
modified class method:
+suspendMessagesWithCategory:
inMDCSnackbarManager
Type of change: Declaration From: + (id<MDCSnackbarSuspensionToken>)suspendMessagesWithCategory: (NSString *)category;
To: + (nullable id<MDCSnackbarSuspensionToken>)suspendMessagesWithCategory: (nullable NSString *)category;
modified class method:
+showMessage:
inMDCSnackbarManager
Type of change: Swift declaration From: class func show(_ message: MDCSnackbarMessage!)
To: class func show(_ message: MDCSnackbarMessage?)
modified class method:
+showMessage:
inMDCSnackbarManager
Type of change: Declaration From: + (void)showMessage:(MDCSnackbarMessage *)message;
To: + (void)showMessage:(nullable MDCSnackbarMessage *)message;
modified class method:
+suspendAllMessages
inMDCSnackbarManager
Type of change: Swift declaration From: class func suspendAllMessages() -> MDCSnackbarSuspensionToken!
To: class func suspendAllMessages() -> MDCSnackbarSuspensionToken?
modified class method:
+suspendAllMessages
inMDCSnackbarManager
Type of change: Declaration From: + (id<MDCSnackbarSuspensionToken>)suspendAllMessages;
To: + (nullable id<MDCSnackbarSuspensionToken>)suspendAllMessages;
modified class method:
+resumeMessagesWithToken:
inMDCSnackbarManager
Type of change: Swift declaration From: class func resumeMessages(with token: MDCSnackbarSuspensionToken!)
To: class func resumeMessages(with token: MDCSnackbarSuspensionToken?)
modified class method:
+resumeMessagesWithToken:
inMDCSnackbarManager
Type of change: Declaration From: + (void)resumeMessagesWithToken:(id<MDCSnackbarSuspensionToken>)token;
To: + (void)resumeMessagesWithToken:(nullable id<MDCSnackbarSuspensionToken>)token;
Themes
MDCFontScheme
๐ Moved to schemes/Typography.
MDCTonalPalette
๐ Moved to schemes/Color.
MDCTonalColorScheme
๐ Moved to schemes/Color.
MDCColorScheme
๐ Moved to schemes/Color.
MDCBasicColorScheme
๐ Moved to schemes/Color.
MDCBasicFontScheme
๐ Moved to schemes/Typography.
schemes/Typography
๐ New component.
Component changes
Tabs
๐ Changes
- โ Disable TabBar test throwing an exception (#3221) (ianegordon)
- โช Revert "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3256) (featherless)
- [Typography] Migrate from FontScheme to TypographyScheming (#3219) (ianegordon)
MaskedTransition
๐ Changes
- Convert MaskedTransition from a MotionTransitioning Transition type to a vanilla UIKit type (#3070) (featherless)
schemes/Color
๐ Changes
- 0๏ธโฃ [Color] Implement a swift-friendly API for color scheme defaults. (#3246) (featherless)
- [Color] Reduce the public API contract for MDCSemanticColorScheme. (#3234) (featherless)
- ๐ [Color] Remove straggling reference to NSCoding. (#3237) (featherless)
- [Themes] Add new semantic color scheme (#3216) (featherless)
schemes/Typography
๐ Changes
- Partial roll-forward of "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3258) (featherless)
- โช Revert "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3256) (featherless)
- ๐ [Typography] Fix build breakage due to missing implementation of MDCBasicFontScheme. (#3242) (featherless)
- [Typography] Migrate from FontScheme to TypographyScheming (#3219) (ianegordon)
๐ FeatureHighlight
๐ Changes
- Adding Color Themer. (#3260) (Mohammad Cazi)
- โช Revert "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3256) (featherless)
- [Typography] Migrate from FontScheme to TypographyScheming (#3219) (ianegordon)
AppBar
๐ Changes
- Color Themer now composes to the FlexibleHeader and NavigationBar color themers. (#3210) (featherless)
Ink
๐ Changes
- ๐ [Cards] Added Shapes support for MDCCard and MDCCardCollectionCell + 2 Examples (#3215) (Yarden Eitan)
ButtonBar
๐ Changes
- Implement new semantic color scheme themer APIs. (#3252) (featherless)
- ๐ Update documentation for the themer. (#3265) (featherless)
TextFields
๐ Changes
- Adding Color Themer. (#3255) (Mohammad Cazi)
- โช Revert "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3256) (featherless)
- [Typography] Migrate from FontScheme to TypographyScheming (#3219) (ianegordon)
Chips
๐ Changes
- โช Revert "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3256) (featherless)
- [Typography] Migrate from FontScheme to TypographyScheming (#3219) (ianegordon)
Snackbar
๐ Changes
- ๐ Removed dependency on UIAppearance entirely for color/font customization/theming. (#3223) (Yarden Eitan)
- โช Revert "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3256) (featherless)
- [Typography] Migrate from FontScheme to TypographyScheming (#3219) (ianegordon)
Cards
๐ Changes
- ๐ Added Shapes support for MDCCard and MDCCardCollectionCell + 2 Examples (#3215) (Yarden Eitan)
NavigationBar
๐ Changes
- Add an API for customizing the title label's text color. (#3266) (featherless)
- [MDCNavigationBar] Exposing typography API. (#3217) (Mohammad Cazi)
๐ Dialogs
๐ Changes
- Expose typography and color API. (#3218) (Mohammad Cazi)
FlexibleHeader
๐ Changes
- Implement a color themer API with the new MDCColorScheming type. (#3236) (featherless)
- โช Revert "Fix bug where shadow layer's opacity wouldn't be set without a tracking scroll view. (#3201)" (#3225) (Robert Moore)
- โช Revert "Revert "Fix bug where shadow layer's opacity wouldn't be set without a tracking scroll view. (#3201)" (#3225)" (#3229) (Robert Moore)
Themes
๐ Changes
- Add new semantic color scheme (#3216) (featherless)
- Partial roll-forward of "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3258) (featherless)
- โช Revert "[Typography] Migrate from FontScheme to TypographyScheming (#3219)" (#3256) (featherless)
- ๐ [Catalog] Remove the global theme change notifications. (#3213) (featherless)
- [Typography] Migrate from FontScheme to TypographyScheming (#3219) (ianegordon)
-
v53.0.0 Changes
Component Changes
ButtonBar
๐ Changes
- โช Revert "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3276) (Robert Moore)
NavigationBar
๐ Changes
- โช Revert "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3276) (Robert Moore)
-
v52.0.0 Changes
๐ฅ Breaking changes
BottomNavigation
- Color themer now only uses
primaryColor
and applies it to theselectedItemTintColor
. It will no longer apply values to eitherunselectedItemTintColor
orbarTintColor
.
TextFields
- 0๏ธโฃ TextFields will no longer default to using Dynamic Type.
- TextFields with floating placeholders now account for the placeholder when computing their bounds.
API Changes
TextFields
0๏ธโฃ MDCTextInputControllerLegacyDefault
modified class:
MDCTextInputControllerLegacyDefault
Type of change: Swift declaration 0๏ธโฃ From: 0๏ธโฃ To: modified class:
MDCTextInputControllerLegacyDefault
Type of change: Declaration 0๏ธโฃ From: 0๏ธโฃ To: MDCTextInputControllerLegacyFullWidth
modified class:
MDCTextInputControllerLegacyFullWidth
Type of change: Swift declaration From: class MDCTextInputControllerLegacyFullWidth : NSObject, MDCTextInputController
To: class MDCTextInputControllerLegacyFullWidth : MDCTextInputControllerFullWidth, NSSecureCoding
modified class:
MDCTextInputControllerLegacyFullWidth
Type of change: Declaration From: @interface MDCTextInputControllerLegacyFullWidth : NSObject <MDCTextInputController>
To: @interface MDCTextInputControllerLegacyFullWidth : MDCTextInputControllerFullWidth <NSSecureCoding>
MDCTextInputController
โ removed property:
textInputFont
inMDCTextInputController
โ removed property:
textInputFontDefault
inMDCTextInputController
Color
๐ New component.
Component changes
Tabs
๐ Changes
- Fix format string types in debug, examples (#3195) (Robert Moore)
schemes/Color
๐ Changes
๐ FeatureHighlight
๐ Changes
- Copy block instead of assign (#3159) (Robert Moore)
- FeatureHighlightViewController should expose FeatureHighlightView as a property. (#3145) (Mohammad Cazi)
- โช Revert "FeatureHighlightViewController should expose FeatureHighlightView as a property. (#3145)" (#3231) (Robert Moore)
Ink
๐ Changes
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
Buttons
๐ Changes
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
ButtonBar
๐ Changes
- โช Restore "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3243) (Robert Moore)
- โช Revert "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3241) (Robert Moore)
TextFields
๐ Changes
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
- 0๏ธโฃ Make MDCTextInputControllerLegacyDefault a subclass of MDCTextInputControllerBase (#3152) (Mohammad Cazi)
- Make MDCTextInputControllerLegacyFullWidth a subclass of MDCTextInputControllerFullWidth (#3154) (Mohammad Cazi)
- โช Restore Dynamic Type to textInput (#3239) (Robert Moore)
- โช Reverting textInputFont property on inputController. #3232 (Mohammad Cazi)
- 0๏ธโฃ [MDCTextFields + Kokoro] Making textfields dynamic type off by default (#3149) (Yarden Eitan)
Chips
๐ Changes
- ๐ Fix documentation for flow layout class (Robert Moore)
Snackbar
๐ Changes
- โก๏ธ Update content padding for new snackbar, leave old snackbar padding as is. (#3192) (Yarden Eitan)
- added inputAccessory with Snackbar dragon + Fix for it (#3156) (Yarden Eitan)
- โก๏ธ font and color updates. (#3125) (Yarden Eitan)
- โช revert back to before #3106 as this code needs more thorough testing. (#3178) (Yarden Eitan)
NavigationBar
๐ Changes
- Fix RTL for titleView (#3193) (ianegordon)
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
- โช Restore "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3243) (Robert Moore)
- โช Revert "[AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974)" (#3241) (Robert Moore)
LibraryInfo
๐ Changes
- Bumped version number to 52.0.0. (Rob Moore)
๐ Dialogs
๐ Changes
- Add a Dragons samples to compare UIKit -vs- Material (#3197) (ianegordon)
- ๐ Fixed regression where in some cases tapping on the buttons in the alert would not do anything (#3182) (Julien Poumailloux)
BottomNavigation
๐ Changes
- Simplify color themer (#3116) (Robert Moore)
PageControl
๐ Changes
- [Tabs] Fix format string types in debug, examples (#3195) (Robert Moore)
AnimationTiming
๐ Changes
- โก๏ธ update contrast color for animation timing example (#3198) (Yarden Eitan)
Collections
๐ Changes
- [Tabs] Fix format string types in debug, examples (#3195) (Robert Moore)
FlexibleHeader
๐ Changes
- Check if contentView is nil before the comparison (#3098) (Siyu Song)
- Fix bug where shadow layer's opacity wouldn't be set without a tracking scroll view. (#3201) (featherless)
- โช Revert "Fix bug where shadow layer's opacity wouldn't be set without a tracking scroll view. (#3201)" (#3230) (Robert Moore)
- [Tabs] Fix format string types in debug, examples (#3195) (Robert Moore)
Palettes
๐ Changes
- โ Fixing static analyzer warnings from Xcode 9.3 (#3196) (Robert Moore)
- Color themer now only uses
-
v50.0.0 Changes
๐ฅ Breaking change
MDCTabBarFontThemer and MDCBottomAppBarColorThemer changed a argument to nonnull from nullable.
API changes
BottomNavigation
MDCBottomNavigationBar
๐ new property:
backgroundColor
inMDCBottomNavigationBar
๐ new property:
barTintColor
inMDCBottomNavigationBar
Chips
MDCChipView
๐ new property:
minimumSize
inMDCChipView
Collections
MDCCollectionViewStyling
๐ new property:
cardBorderRadius
inMDCCollectionViewStyling
TextFields
MDCTextInputController
๐ new property:
textInputFont
inMDCTextInputController
๐ new property:
textInputFontDefault
inMDCTextInputController
Component changes
Tabs
๐ Changes
- [BottomAppBar, Tabs] Make themer parameters nonnull (#3133) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
MaskedTransition
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
๐ FeatureHighlight
๐ Changes
- Use safe selector access for color themers (#3126) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
AppBar
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
Ink
๐ Changes
- Use safe selector access for color themers (#3126) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
CollectionCells
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
Buttons
๐ Changes
- Use safe selector access for color themers (#3126) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
ButtonBar
๐ Changes
- [AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974) (Ali Rabbani)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
TextFields
๐ Changes
- Adding font themer (#3096) (Mohammad Cazi)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
Chips
๐ Changes
- Create a FontThemer (#3128) (Robert Moore)
- ๐ Support Dynamic Type and show it in example. (#3123) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
Snackbar
๐ Changes
- ../ (#3122) (Yarden Eitan)
- Don't traverse through dismissing presented child view controllers. (#3106) (Yarden Eitan)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
- ๐ suppress internal use of deprecated property (#3143) (Yarden Eitan)
Cards
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
- โก๏ธ fix: update link to material design guidelines (#3121) (radeva)
BottomAppBar
๐ Changes
- [BottomAppBar, Tabs] Make themer parameters nonnull (#3133) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
Slider
๐ Changes
- Use safe selector access for color themers (#3126) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
NavigationBar
๐ Changes
- [AppBar] Make MDCNavigationBar and MDCButtonBar size dynamically (#2974) (Ali Rabbani)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
OverlayWindow
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
LibraryInfo
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
ShadowLayer
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
ActivityIndicator
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
BottomSheet
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
Typography
๐ Changes
- ๐ Support Dynamic Type in extensions for iOS >= 10. (#3127) (Thomas-Redding-G)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
๐ Dialogs
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
BottomNavigation
๐ Changes
- Add
barTintColor
to replacebackgroundColor
(#3085) (Robert Moore) - ๐ Remove ink for canceled touch (#3119) (Robert Moore)
- Use safe selector access for color themers (#3126) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
PageControl
๐ Changes
- Use safe selector access for color themers (#3126) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
AnimationTiming
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
Collections
๐ Changes
- ๐ Add custom cardBorderRadius to MDCCollectionViewStyler (#3114) (strangewiz)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
HeaderStackView
๐ Changes
- Use safe selector access for color themers (#3126) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
FlexibleHeader
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
Themes
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
ShadowElevations
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
ProgressView
๐ Changes
- Use safe selector access for color themers (#3126) (Robert Moore)
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
Palettes
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
CollectionLayoutAttributes
๐ Changes
- โ [Kokoro / CI] Have Kokoro test multiple iOS versions and simulators on different Xcodes. (#3117) (Yarden Eitan)
-
v49.0.0 Changes
๐ฅ Breaking changes
BottomAppBar
MDCBottomAppBarView
NS_UNAVAILABLE property:
backgroundColor
inMDCBottomAppBarView
API changes
BottomAppBar
MDCBottomAppBarView
๐ new property:
barTintColor
inMDCBottomAppBarView
NS_UNAVAILABLE property:
backgroundColor
inMDCBottomAppBarView
๐ new property:
shadowColor
inMDCBottomAppBarView
๐ new property:
backgroundColor
inMDCBottomAppBarView
๐ Dialogs
MDCAlertControllerView
๐ new property:
titleColor
inMDCAlertControllerView
๐ new property:
mdc_adjustsFontForContentSizeCategory
inMDCAlertControllerView
๐ new class:
MDCAlertControllerView
๐ new property:
titleFont
inMDCAlertControllerView
๐ new property:
buttonColor
inMDCAlertControllerView
๐ new property:
buttonFont
inMDCAlertControllerView
๐ new property:
messageColor
inMDCAlertControllerView
๐ new property:
messageFont
inMDCAlertControllerView
Component changes
Snackbar
๐ Changes
- Added Color and Font Themers (#3102) (Yarden Eitan)
- ๐ bring back buttonTextColor and deprecate it (#3104) (Yarden Eitan)
BottomAppBar
๐ Changes
- Add simple color themer (#3094) (Robert Moore)
๐ Dialogs
๐ Changes
- Enable custom fonts on MDCAlertController (#3097) (ianegordon)
Themes
๐ Changes
- [BottomAppBar] Add simple color themer (#3094) (Robert Moore)
-
v48.0.0 Changes
๐ฅ Breaking changes
โ removed property:
highlightedButtonTextColor
inMDCSnackbarMessage
๐ New deprecations
MDCSnackbarMessage
๐ deprecated property:
buttonTextColor
inMDCSnackbarMessage
MDCSnackbarMessageView()
modified property:
snackbarMessageViewTextColor
inMDCSnackbarMessageView()
๐ | Type of change: | Deprecation message | |---|---| | From: |
snackbarMessageViewTextColor
| | To: |messsageTextColor
|modified property:
snackbarMessageViewTextColor
inMDCSnackbarMessageView()
๐ | Type of change: | Deprecation | |---|---| | From: |
0
| | To: |1
|modified property:
snackbarMessageViewTextColor
inMDCSnackbarMessageView()
Type of change: parent.usr From: c:objc(cs)MDCSnackbarMessageView
To: c:objc(ext)[email protected]@2959
๐ New features
API changes
Snackbar
MDCSnackbarMessageView
๐ new property:
messageTextColor
inMDCSnackbarMessageView
๐ new method:
-buttonTitleColorForState:
inMDCSnackbarMessageView
๐ new property:
mdc_adjustsFontForContentSizeCategory
inMDCSnackbarMessageView
๐ new method:
-setButtonTitleColor:forState:
inMDCSnackbarMessageView
MDCSnackbarMessage
๐ new property:
usesLegacySnackbar
inMDCSnackbarMessage
โ removed property:
highlightedButtonTextColor
inMDCSnackbarMessage
โ removed property:
buttonTextColor
inMDCSnackbarMessage
MDCSnackbarMessageView()
๐ new method:
-snackbarMessageViewTextColor
insnackbarMessageViewTextColor
inMDCSnackbarMessageView()
๐ new category:
MDCSnackbarMessageView()
๐ new method:
-setSnackbarMessageViewTextColor:
insnackbarMessageViewTextColor
inMDCSnackbarMessageView()
modified property:
snackbarMessageViewTextColor
inMDCSnackbarMessageView()
๐ | Type of change: | Deprecation message | |---|---| | From: | `
| | To: |
Use messsageTextColor instead.` |modified property:
snackbarMessageViewTextColor
inMDCSnackbarMessageView()
๐ | Type of change: | Deprecation | |---|---| | From: |
0
| | To: |1
|modified property:
snackbarMessageViewTextColor
inMDCSnackbarMessageView()
Type of change: parent.usr From: c:objc(cs)MDCSnackbarMessageView
To: c:objc(ext)[email protected]@2959
Component changes
Tabs
๐ Changes
- Don't call UIAppearance in +initialize (#3067) (Robert Moore)
- ๐ Font/Color Scheme support for tab bar. (#3083) (Mohammad Cazi)
๐ FeatureHighlight
๐ Changes
Ink
๐ Changes
- ๐ [Button|Ink|TextFields|Palettes] Fixed NSNumber conversion static analyzer errors (#2998) (Yura Samsoniuk)
Buttons
๐ Changes
- Set FlatButton inkColor via UIAppearance (#3069) (Robert Moore)
- ๐ Support IB custom fonts (#3082) (Robert Moore)
- ๐ [Button|Ink|TextFields|Palettes] Fixed NSNumber conversion static analyzer errors (#2998) (Yura Samsoniuk)
TextFields
๐ Changes
- ๐ [Button|Ink|TextFields|Palettes] Fixed NSNumber conversion static analyzer errors (#2998) (Yura Samsoniuk)
Snackbar
๐ Changes
- โ Fix compiler warning due to self reference in block (#3079) (featherless)
- New Snackbar implementation with legacy toggle to activate (#3055) (Yarden Eitan)
- ๐ custom font and dynamic type support, UI_APPEARANCE support for color theming (#3090) (Yarden Eitan)
- โก๏ธ update snackbar text color to the initialized value (#3081) (Yarden Eitan)
BottomSheet
๐ Changes
Themes
๐ Changes
- [FeatureHighlight] Accessibility title and body mutator added to fix UIAppearance issue (#3043) (Mohammad Cazi)
Palettes
๐ Changes
- ๐ [Button|Ink|TextFields|Palettes] Fixed NSNumber conversion static analyzer errors (#2998) (Yura Samsoniuk)
-
v47.0.0 Changes
๐ฅ 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)
-
v46.1.0 Changes
API changes
ActivityIndicator
MDCActivityIndicator
๐ new method:
-setProgress:animated:
inMDCActivityIndicator
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
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
MaskedTransition
๐ Changes
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
๐ FeatureHighlight
๐ Changes
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
Ink
๐ Changes
- [MDCBottomNavigationBar] NSSecureCoding. (#2973) (Mohammad Cazi)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
CollectionCells
๐ Changes
- Add demonstration of #2911 (#2930) (ianegordon)
- ๐ Support images larger than 40x40 in MDCCollectionViewTextCell (#2912) (Ben Hamilton (Ben Gertzfield))
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
Buttons
๐ Changes
- [MDCButtonBar] add NSSecureCoding. (#2976) (Mohammad Cazi)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
- โ fix local kokoro warnings and errors (#2964) (Yarden Eitan)
ButtonBar
๐ Changes
- [MDCButtonBar] add NSSecureCoding. (#2976) (Mohammad Cazi)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
TextFields
๐ Changes
- Adding secure coding for all MDCTextfield and properties of it. (#2990) (Mohammad Cazi)
- Fix for GH #2985 (placeholder not moving when chips needs it to.) (#2989) (Will Larche)
- โก๏ธ Updating cursor color for state. (#2967) (Will Larche)
- [TextField] Fix MDCTextInputControllerUnderline usage description in README.md (#2950) (yokoe)
Chips
๐ Changes
- ChipView class check for encoding. (#2993) (Mohammad Cazi)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
Snackbar
๐ Changes
- [SnackbarExmaples] Added required super call (#3005) (Yura Samsoniuk)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
Cards
๐ Changes
- [CollectionCells] Add demonstration of #2911 (#2930) (ianegordon)
- ๐ [MDCCard] NSSecureCoding support. (#2984) (Mohammad Cazi)
BottomAppBar
๐ Changes
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
NavigationBar
๐ Changes
- ๐ [MDCAppBar]Support NSSecureCoding for App bar. (#2959) (Mohammad Cazi)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
ShadowLayer
๐ Changes
- 0๏ธโฃ Document default elevation of 0 (#2960) (Robert Moore)
ActivityIndicator
๐ Changes
- Add setProgress:animated: (#2924) (ianegordon)
- โ Fixed ActivityIndicatorTests#testSetProgressStrokeAnimated test (#3006) (Yura Samsoniuk)
- Fixing Implicit Self inside blocks. (#2954) (Mohammad Cazi)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
BottomSheet
๐ Changes
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
BottomNavigation
๐ Changes
- ๐ Remove MaterialMath import (#2941) (Robert Moore)
- [MDCBottomNavigationBar] NSSecureCoding. (#2973) (Mohammad Cazi)
PageControl
๐ Changes
- Fixing Implicit Self inside blocks. (#2954) (Mohammad Cazi)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
Collections
๐ Changes
- Adding comment from .h to also the .m (#2955) (Will Larche)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
HeaderStackView
๐ Changes
- ๐ [MDCAppBar]Support NSSecureCoding for App bar. (#2959) (Mohammad Cazi)
FlexibleHeader
๐ Changes
- ๐ [MDCAppBar]Support NSSecureCoding for App bar. (#2959) (Mohammad Cazi)
- โ [Warnings Fix] Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior. (#2933) (Mohammad Cazi)
Themes
๐ Changes
- [MDCTonalPalette] Adding NSSecureCoding. #2904 (#2928) (Mohammad Cazi)
- โ fix local kokoro warnings and errors (#2964) (Yarden Eitan)
-
v46.0.0 Changes
๐ฅ Breaking changes
BottomSheets
โ Remove Material Motion from the BottomSheets component as it was causing crashes on iOS 8.