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
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.