v42.1.0
New features
New MDCChipField API in the Chips component provides an interface through which a user can input a collection of string tokens.
API changes
Chips
MDCChipFieldDefaultContentEdgeInsets
new constant: MDCChipFieldDefaultContentEdgeInsets
MDCChipFieldDelimiter
new enum value: MDCChipFieldDelimiterReturn in MDCChipFieldDelimiter
new enum: MDCChipFieldDelimiter
new enum value: MDCChipFieldDelimiterAll in MDCChipFieldDelimiter
new enum value: MDCChipFieldDelimiterNone in MDCChipFieldDelimiter
new typedef: MDCChipFieldDelimiter
new enum value: MDCChipFieldDelimiterDefault in MDCChipFieldDelimiter
new enum value: MDCChipFieldDelimiterSpace in MDCChipFieldDelimiter
new enum value: MDCChipFieldDelimiterDidEndEditing in MDCChipFieldDelimiter
MDCChipField
new class: MDCChipField
new method: -focusTextFieldForAccessibility in MDCChipField
new method: -removeSelectedChips in MDCChipField
new method: -removeChip: in MDCChipField
new property: contentEdgeInsets in MDCChipField
new method: -addChip: in MDCChipField
new property: showPlaceholderWithChips in MDCChipField
new property: textField in MDCChipField
new property: minTextFieldWidth in MDCChipField
new property: chipHeight in MDCChipField
new method: -deselectAllChips in MDCChipField
new property: delegate in MDCChipField
new method: -selectChip: in MDCChipField
new property: chips in MDCChipField
new method: -clearTextInput in MDCChipField
new property: delimiter in MDCChipField
MDCChipFieldDelegate
new method: -chipField:didChangeInput: in MDCChipFieldDelegate
new protocol: MDCChipFieldDelegate
new method: -chipFieldHeightDidChange: in MDCChipFieldDelegate
new method: -chipFieldDidBeginEditing: in MDCChipFieldDelegate
new method: -chipField:didRemoveChip: in MDCChipFieldDelegate
new method: -chipField:didTapChip: in MDCChipFieldDelegate
new method: -chipField:shouldAddChip: in MDCChipFieldDelegate
new method: -chipFieldShouldBecomeFirstResponder: in MDCChipFieldDelegate
new method: -chipField:didAddChip: in MDCChipFieldDelegate
new method: -chipFieldShouldReturn: in MDCChipFieldDelegate
new method: -chipFieldDidEndEditing: in MDCChipFieldDelegate
MDCChipView
new property: shapeGenerator in MDCChipView
new method: -shadowColorForState: in MDCChipView
new method: -setShadowColor:forState: in MDCChipView
MDCChipFieldDefaultMinTextFieldWidth
new constant: MDCChipFieldDefaultMinTextFieldWidth
FeatureHighlight
MDCFeatureHighlightView
new property: mdc_adjustsFontForContentSizeCategory in MDCFeatureHighlightView
ShadowLayer
MDCShadowLayer(Subclassing)
new category: MDCShadowLayer(Subclassing)
Typography
UIFontDescriptor(MaterialTypography)
new class method: +mdc_standardFontDescriptorForMaterialTextStyle: in UIFontDescriptor(MaterialTypography)
UIFont(MaterialTypography)
new class method: +mdc_standardFontForMaterialTextStyle: in UIFont(MaterialTypography)
Component changes
AnimationTiming
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
- [Bazel] Fix BUILD files for bazel 0.8.0 and latest apple_rules (#2640) (Robert Moore)
AppBar
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
BottomAppBar
Changes
- Corrected imports in examples. (#2656) (Randall Li)
BottomNavigation
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
BottomSheet
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
ButtonBar
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
Buttons
Changes
- Corrected imports in examples. (#2645) (Randall Li)
- Add unit tests for Floating Button layout (#2577) (Robert Moore)
- Fixed float conversion build errors (#2602) (Randall Li)
- Improve FloatingButton documentation (#2578) (Robert Moore)
- Re-enable legacy ink. (#2657) (featherless)
- Rename
MDCFloatingButton updateShapeForcingLayout(#2625) (Robert Moore) - Revert "Re-enable legacy ink. (#2657)" (#2664) (featherless)
Chips
Changes
- Call [super layoutSubviews] (#2667) (Sam Morrison)
- Chip field (#2600) (Sam Morrison)
- Fixed float conversion build errors (#2602) (Randall Li)
- Stateful shadow colors (#2668) (Sam Morrison)
- Use shaped shadow layer (#2628) (Sam Morrison)
CollectionLayoutAttributes
Changes
- Add BUILD file (#2646) (Robert Moore)
Collections
Changes
- Fix iOS 11-specific bug where section headers would overlap scroll indicators. (#2572) (featherless)
- Fixed float conversion build errors (#2602) (Randall Li)
- Fixed method collision build errors (#2603) (Randall Li)
Dialogs
Changes
- Add BUILD file and test (#2647) (Robert Moore)
- Fixed float conversion build errors (#2602) (Randall Li)
FeatureHighlight
Changes
- Add BUILD file and no-op test (#2648) (Robert Moore)
- Fixed float conversion build errors (#2602) (Randall Li)
- Move Dynamic Type support to the FeatureHighlightView (#2653) (ianegordon)
FlexibleHeader
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
HeaderStackView
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
Ink
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
- [Bazel] Fix BUILD files for bazel 0.8.0 and latest apple_rules (#2640) (Robert Moore)
NavigationBar
Changes
- Fix navbar placement in catalog for iPhoneX (#2581) (Yarden Eitan)
- Fixed float conversion build errors (#2602) (Randall Li)
- [CocoaPods] Added warnings to examples. (#2480) (Randall Li)
OverlayWindow
Changes
- Add BUILD file and no-op test (#2649) (Robert Moore)
PageControl
Changes
- Add BUILD file (#2652) (Robert Moore)
- Fixed float conversion build errors (#2602) (Randall Li)
ProgressView
Changes
- Add BUILD file (#2671) (Robert Moore)
ShadowLayer
Changes
- [Bazel] Fix BUILD files for bazel 0.8.0 and latest apple_rules (#2640) (Robert Moore)
- [Shapes] Implicitly animate shape path on resizing (#2619) (Sam Morrison)
Snackbar
Changes
- [EarlGrey] Fixing Snackbar test for iPhone 4S (#2622) (Robert Moore)
Tabs
Changes
- Add BUILD file (#2676) (Robert Moore)
- Fixed float conversion build errors (#2602) (Randall Li)
- Revert "Enable new ink (#2616)" (#2665) (featherless)
TextFields
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
Themes
Changes
- Fixed float conversion build errors (#2602) (Randall Li)
- Init temp variable to avoid warning / error. (#2609) (ianegordon)