Changelog History
Page 13
-
v85.11.0 Changes
July 31, 2019๐ This minor release introduces Material Elevation support for Bottom Sheet,
๐ Navigation Bar, Slider, and Tabs. Bottom Sheet removed its broken-init
๐ initializer, and some internal clean-up was done to remove iOS 8 support.๐ New features
๐ Support for Material Elevation expanded to several more components. APIs to
๐ support overriding the computed value formdc_baseElevation
and to respond to
elevation changes are available. Assigning anelevationDidChangeBlock
on a
๐ supported component enables code to be executed whenever the component's
elevation changes. This may include state-based elevation changes (like
pressing on a Chip) or when the component's elevation value is changed
programmatically.๐ Changes
ActionSheet
- Drop iOS 8 work-arounds. (#8120) (Robert Moore)
BottomNavigation
- โ
Test for
additionalSafeAreaInsets
behavior. (#8113) (Robert Moore)
BottomSheet
- ๐ Add MaterialElevation support (#8102) (Cody Weaver)
- Mark init unavailable (#8108) (Cody Weaver)
Elevation
- โ๏ธ Fix spelling typos. (#8114) (Robert Moore)
NavigationBar
- ๐ Add MaterialElevation support. (#8115) (Cody Weaver)
- Add doc to note UIBarButtonItem cannot be used in UIPopoverPresentationController. (#8129) (Wenyu Zhang)
Slider
- ๐ Add MaterialElevation support (#8127) (Cody Weaver)
Tabs
- ๐ Add MaterialElevation support (#8116) (Cody Weaver)
Typography
- Drop iOS 8 pragmas. (#8119) (Robert Moore)
private/Color
- Fix Math import. (#8104) (Robert Moore)
schemes/Typography
- ๐ Remove CoreText dependency. (#8132) (Robert Moore)
- ๐ Remove iOS 8 code. (#8118) (Robert Moore)
-
v85.10.0 Changes
July 30, 201985.10.0
๐ This minor release expands support for trait collection and Material Elevation
๐ changes in several components. Bottom Sheet and Navigation Drawer now support
shadows and elevation.๐ฅ Breaking changes
The following breaking changes were made for Beta components that are not
published to CocoaPods.MDCBottomNavigationBarController
now positions child view controllers'
views behind the Bottom Navigation bar.MDCBannerView
now uses aUITextView
for the message text instead of a
UILabel
.
๐ New features
Several more components received APIs that allow responding to
UITraitCollection
changes. Assigning atraitCollectionDidBlock
on a
๐ supported component enables code to be executed in the component's
traitCollectionDidChange:
method without subclassing.๐ Support for Material Elevation expanded to several more components. APIs to
๐ support overriding the computed value formdc_baseElevation
and to respond to
elevation changes are available. Assigning anelevationDidChangeBlock
on a
๐ supported component enables code to be executed whenever the component's
elevation changes. This may include state-based elevation changes (like
pressing on a Chip) or when the component's elevation value is changed
programmatically.The Bottom Sheet component, specifically
MDCBottomSheetController
now renders
0๏ธโฃ a shadow by default. This may cause a very slight change in the shading around
๐ง the edges of the view. If desired, non-elevated Bottom Sheets can be configured
by setting theelevation
property's value to0
.Likewise, the Navigation Drawer's
MDCBottomDrawerPresentationController
0๏ธโฃ renders a shadow by default. To disable the shadow or modify the drawer's
elevation, set theelevation
property to the desired value.MDCBottomSheetController \*bottomSheet = [[MDCBottomSheetController alloc] initWithContentViewController:mySheetContentVC]; bottomSheet.elevation = 0;
MDCTabBarView
, currently in Beta, now provides an API to set its preferred
๐ layout style.MDCTabBarView \*tabBarView = [[MDCTabBarView alloc] init]; tabBarView.preferredLayoutStyle = MDCTabBarViewLayoutStyleScrollable;
๐ Changes
AppBar
Banner
- use UITextView for text instead of UILabel. (#7993) (Wenyu Zhang)
BottomAppBar
- ๐ Remove no-op tests. (#8072) (Robert Moore)
BottomNavigation
- ๐ Add MDCElevation support. (#8038) (Robert Moore)
- ๐ Deprecate
sizeThatFitsIncludesSafeArea
. (#8066) (Robert Moore) - Don't set
sizeThatFitsIncludesSafeArea
. (#8065) (Robert Moore) - Make KVO safe for
nil
. (#8083) (Robert Moore) - Store child VCs in
childViewControllers
. (#7992) (Robert Moore) - ๐ Test for
mdc_overrideBaseElevation
(#8075) (Robert Moore)
BottomSheet
- Add elevation property (#8089) (Cody Weaver)
Buttons
- ๐ง Move MDCButton's defaultContentInset configuration to later in init (#8069) (Bryan Oltman)
- ๐ Support MaterialElevation. (#8073) (Robert Moore)
Cards
- ๐ CardCell Supports MaterialElevation. (#8079) (Yarden Eitan)
- MDCCard conforms to MDCElevation and MDCElevationOverride (#8054) (Yarden Eitan)
Chips
- Conform to MDCElevatable and MDCElevationOverriding. (#8068) (Robert Moore)
- ๐ Fix default value for mdc_overrideBaseElevation. (#8076) (Robert Moore)
๐ Dialogs
- ๐ Add MaterialElevation support to AlertController. (#8098) (Robert Moore)
Elevation
- Add MDCElevationOverride to umbrella header (#8052) (Robert Moore)
- ๐ Add a UIColor category to support resolving color with elevation. (#8085) (Wenyu Zhang)
- Add absoluteElevation property and clarify the elevationDidChange block param (#8071) (Yarden Eitan)
- Add elevationDidChange method to UIView category (#8067) (Cody Weaver)
- Doc clarification (#8074) (Yarden Eitan)
- Improve protocol naming (#8055) (Yarden Eitan)
- passing self to the elevationDidChangeBlock (#8058) (Yarden Eitan)
- Add category to UIView (#7969) (Cody Weaver)
๐ FeatureHighlight
- Add traitCollectionDidChange block (#8036) (Cody Weaver)
FlexibleHeader
HeaderStackView
- Add traitCollectionDidChange block (#8061) (Cody Weaver)
Ink
- Add traitCollectionDidChange block (#8064) (Cody Weaver)
- ๐ Fix documentation for enum types. (#8090) (Robert Moore)
List
- ๐ Support MaterialElevation. (#8078) (Robert Moore)
NavigationDrawer
- Adds an elevation and shadow to Bottom Drawer. (#8095) (Yarden Eitan)
- ๐ Adding MDCElevation support (#8100) (Yarden Eitan)
PageControl
- Add traitCollectionDidChange block (#8037) (Cody Weaver)
ProgressView
- Add traitCollectionDidChange block (#8035) (Cody Weaver)
Ripple
- Add traitCollectionDidChange block (#8062) (Cody Weaver)
- Fix active ripple layer not using active ripple color. (#8059) (Wenyu Zhang)
Slider
- Add traitCollectionDidChange block (#8057) (Cody Weaver)
Snackbar
- ๐ Supports MaterialElevation. (#8081) (Yarden Eitan)
Tabs
- Add traitCollectionDidChange block (#8056) (Cody Weaver)
- Add traitCollectionDidChange block (#8060) (Cody Weaver)
- Properties before methods. (#8063) (Robert Moore)
TextFields
- Add traitCollectionDidChange block (#8070) (Cody Weaver)
Typography
- Internal comments to explain font scaling. (#8087) (Robert Moore)
private/Color
- add method for regular color blending. (#8077) (Wenyu Zhang)
Multi-component changes
- Add conformance to MDCElevatable, MDCElevationOverriding (#8094) (Bryan Oltman)
- Correct
elevationDidChangeBlock
type. (#8106) (Robert Moore) - Create umbrella header. (#8091) (Robert Moore)
-
v85.9.1 Changes
July 25, 2019๐ This patch release fixes a crash in BottomNavigation when a KVO'd property is assigned
nil
.๐ Changes
BottomNavigation
- Make KVO safe for
nil
. (#8083) (Robert Moore)
- Make KVO safe for
-
v85.9.0 Changes
July 24, 2019๐ This minor release includes new elevation protocols to prepare for Dark Mode, dynamic color ๐ support in several components, and a number of MDCTabBarView features.
๐ New features
๐ Several components support
traitCollectionDidChangeBlock
to allow clients inject a block for exection when traitCollections ๐ changes. TabBarView allows clients to set preferred layout style.API changes
ActionSheet
MDCActionSheetController
๐ new property:
traitCollectionDidChangeBlock
inMDCActionSheetController
ActivityIndicator
MDCActivityIndicator
๐ new property:
traitCollectionDidChangeBlock
inMDCActivityIndicator
Banner
MDCBannerView
๐ new property:
traitCollectionDidChangeBlock
inMDCBannerView
BottomAppBar
MDCBottomAppBarView
๐ new property:
traitCollectionDidChangeBlock
inMDCBottomAppBarView
BottomSheet
MDCBottomSheetController
๐ new property:
traitCollectionDidChangeBlock
inMDCBottomSheetController
MDCBottomSheetPresentationController
๐ new property:
traitCollectionDidChangeBlock
inMDCBottomSheetPresentationController
ButtonBar
MDCButtonBar
๐ new property:
traitCollectionDidChangeBlock
inMDCButtonBar
Cards
MDCCard
๐ new property:
traitCollectionDidChangeBlock
inMDCCard
MDCCardCollectionCell
๐ new property:
traitCollectionDidChangeBlock
inMDCCardCollectionCell
Chips
MDCChipView
๐ new property:
traitCollectionDidChangeBlock
inMDCChipView
๐ Dialogs
MDCAlertController
๐ new property:
shadowColor
inMDCAlertController
๐ new property:
traitCollectionDidChangeBlock
inMDCAlertController
MDCDialogPresentationController
๐ new property:
dialogShadowColor
inMDCDialogPresentationController
๐ new property:
traitCollectionDidChangeBlock
inMDCDialogPresentationController
Elevation
MDCElevatable
๐ new property:
mdc_currentElevation
inMDCElevatable
๐ new property:
mdc_elevationDidChangeBlock
inMDCElevatable
๐ new protocol:
MDCElevatable
MDCElevatableOverriding
๐ new property:
mdc_overrideBaseElevation
inMDCElevatable
๐ new protocol:
MDCElevatableOverriding
List
MDCBaseCell
๐ new property:
traitCollectionDidChangeBlock
inMDCBaseCell
NavigationDrawer
MDCBottomDrawerPresentationController
๐ new property:
traitCollectionDidChangeBlock
inMDCBottomDrawerPresentationController
MDCBottomDrawerViewController
๐ new property:
traitCollectionDidChangeBlock
inMDCBottomDrawerViewController
Ripple
MDCRippleView
๐ new property:
activeRippleColor
inMDCRippleView
โ removed method:
-setActiveRippleColor:
inMDCRippleView
Slider
MDCSlider
๐ new property:
thumbShadowColor
inMDCSlider
Tabs
MDCTabBarView
๐ new enum value:
MDCTabBarViewLayoutStyleFixed
inMDCTabBarView
๐ new enum value:
MDCTabBarViewLayoutStyleScrollable
inMDCTabBarView
๐ new enum value:
MDCTabBarViewLayoutStyleFixedClusteredCentered
inMDCTabBarView
๐ new enum value:
MDCTabBarViewLayoutStyleFixedClusteredLeading
inMDCTabBarView
๐ new enum value:
MDCTabBarViewLayoutStyleFixedClusteredTrailing
inMDCTabBarView
๐ new enum:
MDCTabBarViewLayoutStyle
๐ new typedef:
MDCTabBarViewLayoutStyle
๐ new property:
preferredLayoutStyle
inMDCTabBarView
๐ new property:
selectionChangeAnimationDuration
inMDCTabBarView
๐ new property:
selectionChangeAnimationTimingFunction
inMDCTabBarView
Component changes
ActionSheet
- Add traitCollectionDidChange block (#7929) (Cody Weaver)
ActivityIndicator
- Add traitCollectionDidChange block (#7931) (Cody Weaver)
- ๐ Support dynamic color (#7950) (Cody Weaver)
Banner
- Add traitCollectionDidChangeBlock API. (#7948) (Wenyu Zhang)
- โ Add two test cases with icons. (#7989) (Wenyu Zhang)
- โ Use Arabic for RTL snapshot test (#8010) (Wenyu Zhang)
- โ add snapshot test for middle length text with large layout margin. (#7957) (Wenyu Zhang)
- ๐ fix layout margin not being considered for all layout styles. (#7956) (Wenyu Zhang)
BottomAppBar
- Add traitCollectionDidChange block (#7930) (Cody Weaver)
- ๐ add support for dynamic color. (#7975) (Wenyu Zhang)
BottomNavigation
- โ Add snapshot tests for Bottom Navigation controller. (#7963) (Robert Moore)
- Controller positions content behind the bar (#7970) (Robert Moore)
- ๐ Remove iOS 9 guards. (#7997) (Robert Moore)
- โก๏ธ Update example to demonstrate lazy loading. (#7991) (Robert Moore)
BottomSheet
- ๐ add traitCollectionDidChangeBlock support. (#7966) (Wenyu Zhang)
ButtonBar
- ๐ add traitCollectionDidChangeBlock support. (#7976) (Wenyu Zhang)
Cards
- ๐ Add Cards dynamic color support (#7906) (Andrew Overton)
- Add traitCollectionDidChange block to MDCCard (#8006) (Cody Weaver)
- Add traitCollectionDidChange block to MDCCardCollectionCell (#8007) (Cody Weaver)
Chips
- ๐ Add Dynamic Color Support for Chips (#7946) (Andrew Overton)
- Add traitCollectionDidChangeBlock (#7980) (Bryan Oltman)
๐ Dialogs
- Add shadow color API (#7911) (Cody Weaver)
- Add traitCollectionDidChangeBlock to MDCAlertController (#7981) (Bryan Oltman)
- ๐ Remove iOS 9 guards. (#7998) (Robert Moore)
Elevation
- Add MDCElevation protocol. (#7955) (Cody Weaver)
- Add elevationDidChangeBlock to MDCElevation protocol (#7962) (Cody Weaver)
- Add property mdc_overrideElevation property (#7965) (Cody Weaver)
- Add second protocol for overrides (#8034) (Cody Weaver)
- Add MDCElevationOverride to umbrella header (#8052) (Robert Moore)
- Improve protocol naming (#8055) (Yarden Eitan)
- Add category to UIView (#7969) (Cody Weaver)
- passing self to the elevationDidChangeBlock (#8058) (Yarden Eitan)
๐ FeatureHighlight
- ๐ Support dynamic color (#7936) (Bryan Oltman)
FlexibleHeader
Ink
- ๐ Dynamic color support (#7974) (Yarden Eitan)
List
NavigationDrawer
- Add traitCollectionDidChange block (#8008) (Cody Weaver)
- Add traitCollectionDidChange block to presentation controller. (#8009) (Cody Weaver)
private/Snapshot
- ๐ add support to change TextInput to RTL mode. (#7986) (Wenyu Zhang)
Ripple
- ๐ Add dynamic color support for ripple. (#7968) (Yarden Eitan)
- Turn activeRippleColor into a property (#7949) (Yarden Eitan)
- Fix active ripple layer not using active ripple color. (#8059) (Wenyu Zhang)
Slider
- โ Add snapshot test for dynamic color with elevation. (#7960) (Wenyu Zhang)
- change track background color. (#7967) (Wenyu Zhang)
- ๐ Add shadowColor to support dynamic color behavior. (#7972) (Wenyu Zhang)
Tabs
- ๐ Allow clients to set preferred layout style. (#8003) (Robert Moore)
- Drop iOS 9 guards. (#7999) (Robert Moore)
- Expose selection change animation properties. (#7944) (Robert Moore)
- ๐ Support Fixed Clustered layout when Justified won't fit. (#7908) (Robert Moore)
- ๐ Support Leading, Trailing Fixed Clustered Layout styles. (#8002) (Robert Moore)
- Tabs dynamic color (#7977) (Andrew Overton)
TextFields
- ๐ Remove iOS 9 guards. (#8000) (Robert Moore)
- Use new Snapshot RTL methods. (#7994) (Robert Moore)
Multi-component changes
- Drop iOS 9 guards for Swift. (#8001) (Robert Moore)
- ๐ Remove RTL snapshot method overrides. (#7996) (Robert Moore)
-
v85.8.0 Changes
July 18, 2019๐ This minor release includes two new default color schemes and elevation properties to prepare for Dark Mode, dynamic color ๐ support in several components, Haptics feature in Slider, and a number of MDCTabBarView features.
๐ New features
๐ Several components support
traitCollectionDidChangeBlock
to allow clients inject a block for exection when traitCollections ๐ changes. Slider supports Haptics feature.API changes
AppBar
MDCAppBar
๐ new property:
traitCollectionDidChangeBlockForAppBarController
inMDCAppBarNavigationController
BottomNavigation
MDCBottomNavigationBar
๐ new property:
traitCollectionDidChangeBlock
inMDCBottomNavigationBar
Buttons
MDCButton
๐ new property:
traitCollectionDidChangeBlock
inMDCButton
FlexibleHeader
MDCFlexibleHeaderContainerViewController
๐ new property:
traitCollectionDidChangeBlock
inMDCFlexibleHeaderContainerViewController
MDCFlexibleHeaderView
๐ new property:
shadowColor
inMDCFlexibleHeaderView
๐ new property:
traitCollectionDidChangeBlock
inMDCFlexibleHeaderView
MDCFlexibleHeaderViewController
๐ new property:
traitCollectionDidChangeBlock
inMDCFlexibleHeaderViewController
NavigationBar
MDCNavigationBar
๐ new property:
traitCollectionDidChangeBlock
inMDCNavigationBar
NavigationDrawer
MDCBottomDrawerContainerViewController
๐ new property:
headerShadowColor
inMDCBottomDrawerContainerViewController
Slider
MDCSlider
๐ new property:
shouldEnableHapticsForAllDiscreteValues
inMDCSlider
Snackbar
MDCSnackbarManager
๐ new property:
messageElevation
inMDCSnackbarManager
MDCSnackbarMessageView
๐ new property:
elevation
inMDCSnackbarMessageView
๐ new property:
traitCollectionDidChangeBlock
inMDCSnackbarMessageView
Tabs+TabBarView
MDCTabBarView
๐ new method:
-rectForItem:inCoordinateSpace:
inMDCTabBarView
schemes/Color
MDCColorScheming
๐ new property:
elevationOverlayColor
inMDCColorScheming
๐ new property:
elevationOverlayEnabledForDarkMode
inMDCColorScheming
MDCSemanticColorScheme
๐ new property:
elevationOverlayColor
inMDCSemanticColorScheme
๐ new property:
elevationOverlayEnabledForDarkMode
inMDCSemanticColorScheme
Component changes
AppBar
- 0๏ธโฃ Add
defaultTraitCollectionDidChangeBlock
for injecting into AppBars. (#7887) (Robert Moore) - Add
traitCollectionDidChangeBlock
to AppBarViewController. (#7851) (Robert Moore) - Provide app bar parameter for traitCollectionDidChange block. (#7888) (Robert Moore)
Banner
- ๐ fix dynamic type support for attributed string. (#7820) (Wenyu Zhang)
BottomNavigation
- Add shadowColor API. (#7910) (Cody Weaver)
- Add
traitCollectionDidChangeBlock
API. (#7893) (Robert Moore)
Buttons
- ๐ Add dynamic color support (#7914) (Cody Weaver)
- ๐ Add dynamic color support to MDCButton (#7858) (Cody Weaver)
- add traitCollectionDidChangeBlock API. (#7853) (Wenyu Zhang)
FlexibleHeader
- ๐ Add dynamic color support to flexible header (#7904) (Cody Weaver)
- Add traitCollectionDidChangeBlock (#7915) (Cody Weaver)
- Add traitCollectionDidChangeBlock (#7922) (Cody Weaver)
- โ Add unit test for the shadow layer (#7909) (Cody Weaver)
- Add traitCollectionDidChange block (#7917) (Cody Weaver)
NavigationBar
- Add traitCollectionDidChange block. (#7918) (Cody Weaver)
NavigationDrawer
ProgressView
- Provide unique names for methods. (#7824) (Robert Moore)
Shapes
- ๐ Fix memory leak in -[MDCRectangleShapeGenerator pathForSize:] by returning an autoreleased CGPathRef (#7913) (Julien Poumailloux)
Slider
Snackbar
- Add button styling properties to MDCSnackbarManager (#7832) (Bryan Oltman)
- Add traitCollectionDidChangeBlock API (#7903) (Bryan Oltman)
- Allow clients to customize elevation (#7844) (Cody Weaver)
- ๐ Support dynamic color (#7905) (Bryan Oltman)
- Use MDCShadowLayer instead of UIKit shadows (#7843) (Cody Weaver)
Tabs
- Add
accessibilityElementForItem:
API. (#7818) (Robert Moore) - Add
setSelected:animated:
API for custom views. (#7810) (Robert Moore) - Add bottom divider. (#7817) (Robert Moore)
- ๐ Add item style options for TabBarView example. (#7808) (Robert Moore)
- โ Add snapshot tests for contentInset on MDCTabBarView. (#7815) (Robert Moore)
- ๐ Add support for
selectedImage
from UITabBarItem. (#7814) (Robert Moore) - Adjust sizeThatFits: behavior for TabBarView. (#7846) (Robert Moore)
- Allow clients to calculate when a view appears/disappears. (#7841) (Robert Moore)
- โ Combine "default" unit tests. (#7822) (Robert Moore)
- Don't handle
contentInset
directly in layout. (#7816) (Robert Moore) - Fix crash when assigning
nil
for KVO'd title. (#7806) (Robert Moore) - Fix segmented control position. (#7898) (Robert Moore)
- Fix title-only example. (#7897) (Robert Moore)
- ๐จ Minor refactoring of KVO code. (#7825) (Robert Moore)
- Retain custom view in example. (#7901) (Robert Moore)
TextFields
- ๐ Textfields dynamic color support (#7889) (Andrew Overton)
private/Color
- ๐ Add UIColor+MaterialDynamic to support dynamic color. (#7860) (Wenyu Zhang)
private/Snapshot
- ๐ added ios13 support for snapshots (#7861) (Yarden Eitan)
schemes/Color
- 0๏ธโฃ Add a default color scheme for Dark mode. (#7831) (Wenyu Zhang)
- 0๏ธโฃ Add dynamic color scheme MDCColorSchemeDefaultsMaterial201907. (#7848) (Wenyu Zhang)
- Use UIColor method instead of static method to generate (#7894) (Wenyu Zhang)
- add two properties for elevation overlay color in color (#7924) (Wenyu Zhang)
- 0๏ธโฃ Add
-
v85.7.0 Changes
July 11, 2019๐ This minor release exposes some properties on Snackbars and fixes a Banner bug.
API changes
Snackbar
MDCSnackbarManager
๐ new property:
buttonInkColor
inMDCSnackbarManager
๐ new property:
uppercaseButtonTitle
inMDCSnackbarManager
๐ new property:
disabledButtonAlpha
inMDCSnackbarManager
Component changes
Snackbar
- Add button styling properties to MDCSnackbarManager (#7832) (Bryan Oltman)
Banner
- ๐ Fix dynamic type support for attributed string (#7820) (Wenyu Zhang)
-
v85.6.0 Changes
July 10, 2019๐ This minor release includes features and bug fixes for the MDCTabBarView Beta component.
API changes
Tabs+TabBarView
๐ MDCTabBarViewIndicatorSupporting
โ removed protocol:
MDCTabBarViewIndicatorSupporting
โ removed property:
bounds
inMDCTabBarViewIndicatorSupporting
โ removed property:
contentFrame
inMDCTabBarViewIndicatorSupporting
MDCTabBarItemCustomViewing
modified property:
mdc_customView
inMDCTabBarItemCustomViewing
Type of change: Declaration From: @property (readwrite, strong, nonatomic, nullable) UIView<MDCTabBarViewIndicatorSupporting> *mdc_customView;
To: @property (readwrite, strong, nonatomic, nullable) UIView<MDCTabBarViewCustomViewable> *mdc_customView;
MDCTabBarView
๐ new property:
bottomDividerColor
inMDCTabBarView
๐ new method:
-accessibilityElementForItem:
inMDCTabBarView
MDCTabBarViewCustomViewable
๐ new property:
bounds
inMDCTabBarViewCustomViewable
๐ new property:
contentFrame
inMDCTabBarViewCustomViewable
๐ new protocol:
MDCTabBarViewCustomViewable
๐ new method:
-setSelected:animated:
inMDCTabBarViewCustomViewable
Component changes
Tabs
- Add
accessibilityElementForItem:
API. (#7818) (Robert Moore) - Add
setSelected:animated:
API for custom views. (#7810) (Robert Moore) - Add bottom divider. (#7817) (Robert Moore)
- ๐ Add item style options for TabBarView example. (#7808) (Robert Moore)
- โ Add snapshot tests for contentInset on MDCTabBarView. (#7815) (Robert Moore)
- ๐ Add support for
selectedImage
from UITabBarItem. (#7814) (Robert Moore) - Adjust sizeThatFits: behavior for TabBarView. (#7846) (Robert Moore)
- โ Combine "default" unit tests. (#7822) (Robert Moore)
- Don't handle
contentInset
directly in layout. (#7816) (Robert Moore) - Fix crash when assigning
nil
for KVO'd title. (#7806) (Robert Moore) - ๐จ Minor refactoring of KVO code. (#7825) (Robert Moore)
- Add
-
v85.5.1 Changes
July 10, 2019๐ This patch release makes a FlexibleHeader dependency on MaterialMath explicit in MaterialComponents.podspec so that pod lib lint validations pass and the release can be published successfully with Cocoapods. There are no code changes.
Component changes
FlexibleHeader
-
v85.5.0 Changes
July 09, 2019๐ This minor release includes a theming extension for ProgressView, a bug fix for FlexibleHeader, haptics support for Slider, and progress on a number of core MDCTabBarView features.
๐ New features
ProgressView now has a theming extension.
MDCProgressView *progressView = [[MDCProgressView alloc] init]; MDCContainerScheme *containerScheme = [[MDCContainerScheme alloc] init]; [progressView applyThemeWithScheme:containerScheme];
API changes
ProgressView+Theming
๐ New extension.
Slider
MDCSlider
๐ new property:
hapticsEnabled
inMDCSlider
Component changes
FlexibleHeader
- use MDCEdgeInsetsEqualToEdgeInsets to compare insets when enforcing insets for scroll view.(#7807) (Wenyu Zhang)
ProgressView
- Add an MDCProgressView theming extension (#7791) (Andrew Overton)
- Provide unique names for methods (#7824) (Robert Moore)
Slider
- Haptics For Slider (#7738) (afweiss)
Tabs
- Add Selection Indicator (#7767) (Robert Moore)
- Allow setting ripple color. (#7784) (Robert Moore)
- Customize selection indicator color. (#7774) (Robert Moore)
- Deduplicate item view layout and contentFrame calculation. (#7796) (Robert Moore)
- Fix
contentFrame
for item view. (#7782) (Robert Moore) - ๐ Fixes layout for changing font sizes. (#7771) (Robert Moore)
- Improve text and image rendering. (#7803) (Robert Moore)
- Include public headers in umbrella header. (#7783) (Robert Moore)
- Inject dummy scroll view into example. (#7772) (Robert Moore)
- Inset scrollable tabs by 52 points. (#7776) (Robert Moore)
- Item views should translate their autoresizing mask into constraints (Ang)
- ๐ Remove extra
contentView
from item view. (#7795) (Robert Moore) - ๐ Remove unused/duplicate method. (#7793) (Robert Moore)
- Switch to manual layout (#7764) (Robert Moore)
- โก๏ธ Update README for TabBarView. (#7799) (Robert Moore)
- Vertically hug content in sizeThatFits: (#7777) (Robert Moore)
private/Math
-
v85.4.0 Changes
๐ This minor release includes changes to the MDCTabBarView Beta component.
API Changes
Tabs+TabBarView
MDCTabBarViewIndicatorTemplate
๐ new protocol:
MDCTabBarViewIndicatorTemplate
๐ new method:
-indicatorAttributesForContext:
inMDCTabBarViewIndicatorTemplate
MDCTabBarViewIndicatorAttributes
๐ new class:
MDCTabBarViewIndicatorAttributes
๐ new property:
path
inMDCTabBarViewIndicatorAttributes
MDCTabBarViewIndicatorContext
๐ new property:
contentFrame
inMDCTabBarViewIndicatorContext
๐ new protocol:
MDCTabBarViewIndicatorContext
๐ new property:
item
inMDCTabBarViewIndicatorContext
๐ new property:
bounds
inMDCTabBarViewIndicatorContext
MDCTabBarView
๐ new property:
rippleColor
inMDCTabBarView
MDCTabBarViewUnderlineIndicatorTemplate
๐ new class:
MDCTabBarViewUnderlineIndicatorTemplate
Component changes
Tabs
- Allow setting ripple color. (#7784) (Robert Moore)
- Fix
contentFrame
for item view. (#7782) (Robert Moore) - Include public headers in umbrella header. (#7783) (Robert Moore)
- Item views should translate their autoresizing mask into constraints (Ang)