Releases: material-components/material-components-ios
20.1.1
Component changes
Snackbar
Changes
- Fix glitchy dismissal animation (#1166) (Sam Morrison)
- Update file path for private file. (#1168) (Louis Romero)
20.1.0
API diffs
Snackbar
- Message View Styling
Component changes
AppBar
Changes
- - Added Modal Presentation App Bar Example (#1153) (Justin Shephard)
- More SwiftLint fixes for unit tests and example apps. (#1154) (Adrian Secord)
Buttons
Changes
- More SwiftLint fixes for unit tests and example apps. (#1154) (Adrian Secord)
Collections
Changes
- Added custom Storyboard cell to the Storyboard example. (#1152) (Adrian Secord)
- More SwiftLint fixes for unit tests and example apps. (#1154) (Adrian Secord)
Dialogs
Changes
- More SwiftLint fixes for unit tests and example apps. (#1154) (Adrian Secord)
FeatureHighlight
Changes
- Build fix: CGFloat casts missing from MDCFeatureHighlightView.m. (Adrian Secord)
- More SwiftLint fixes for unit tests and example apps. (#1154) (Adrian Secord)
- [Feature highlight] Dynamically size inner highlight (#1151) (Sam Morrison)
FlexibleHeader
Changes
- More SwiftLint fixes for unit tests and example apps. (#1154) (Adrian Secord)
PageControl
Changes
- More SwiftLint fixes for unit tests and example apps. (#1154) (Adrian Secord)
Palettes
Changes
- More SwiftLint fixes for unit tests and example apps. (#1154) (Adrian Secord)
ShadowLayer
Changes
- More SwiftLint fixes for unit tests and example apps. (#1154) (Adrian Secord)
Snackbar
Changes
- Message View Styling. (#1120) (Sean O'Shea)
20.0.0
API changes
Ink
- Return value of
-[MDCInkTouchController initWithView:]
changed fromnullable instancetype
tononnull instancetype
.
ProgressView
- Added
MDCProgressViewBackwardAnimationMode
enumeration and-[MDCProgressView backwardProgressAnimationMode]
to control how the progress view acts when its progress value is set to a smaller value than the current value.
Component changes
ActivityIndicator
Changes
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
AppBar
Changes
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- Header stack view in AppBarController (#1121) (Will Larche)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
ButtonBar
Changes
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
Buttons
Changes
- Update the button’s custom title color when the tint color changes. (#1134) (Sam Symons)
- [Catalog] Center views in the Buttons (Swift and Storyboard) demo (#1126) (Sam Symons)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
CollectionCells
Changes
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
- [ReadMes] - Updated asset name for collection_cells (#1111) (Justin Shephard)
Collections
Changes
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
Dialogs
Changes
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
FeatureHighlight
Changes
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
FlexibleHeader
Changes
- - Update tests so as not to have 0 in contentSize (#1146) (Justin Shephard)
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
HeaderStackView
Changes
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
Ink
Changes
- Add nonnull to the MDCInkTouchController initializer (#1123) (Sam Symons)
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
NavigationBar
Changes
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- Remove redundant RTL frame adjustment (#1103) (Junius Gunaratne)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
OverlayWindow
Changes
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
PageControl
Changes
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
Palettes
Changes
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
ProgressView
Changes
- Backward animation support (#1138) (Sam Symons)
- Ran scripts/format_all. (#1141) (Adrian Secord)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
ShadowLayer
Changes
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
- [Scripts] SwiftLint integration (#1129) (Sam Symons)
Slider
Changes
- [ReadMes] - First image of each component is too big (#1110) (Justin Shephard)
Snackbar
Changes
- Fixes layout for SnackbarSuspensionExample (#1098) (Peter Friese)
- Formatted all Objective-C sources with clang-format. (#1133) (Adrian Secord)
- Render Snackbar labels correctly for RTL (#1137) (Sam Morrison)
- [Weakify strongify asynchronously d...
Release 19.0.4
This point release changes certain podfiles and instructions to refer to the published pod up at CocoaPods.
19.0.3
19.0.2
19.0.2
API changes
- No API changes in this release.
Component changes
ActivityIndicator
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
AppBar
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
ButtonBar
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
Buttons
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
CollectionCells
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
CollectionLayoutAttributes
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
Collections
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
FlexibleHeader
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
HeaderStackView
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
Ink
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
NavigationBar
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
PageControl
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
Palettes
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
ProgressView
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
ShadowElevations
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
ShadowLayer
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
Slider
Changes
- Removed old refs to API docs. (#1084) (Adrian Secord)
Typography
Changes
- Remove all references to removed components (#1067) (Adrian Secord)
- Removed old refs to API docs. (#1084) (Adrian Secord)
19.0.1
This point release fixes stale references to MDFFontDiskLoader, MDFSpritedAnimationView, and MDFRobotoFontLoader in our CocoaPods podspec.
API diffs
None.
Component changes
Typography
Changes
- Remove all references to removed components (#1067) (Adrian Secord)
19.0.0
API diffs
The following components have been refactored out of MDC into their own repos:
- MDCFontDiskLoader is now MDFFontDiskLoader.
- MDCSpritedAnimationView is now MDFSpritedAnimationView.
- MDCRobotoFontLoader is now MDFRobotoFontLoader.
Please note that while MDC's repo is private, there is no way for MDFRobotoFontLoader to formally depend on MDCTypographyFontLoading, even though it informally implements the protocol. This means that MDFRobotoFontLoader can't be used out of the box to configure Typography with Roboto. Once we go public, a pull request to MDFFontDiskLoader will be created to add this convenience. Until that time, you can manually extend your local copy of MDFRobotoFontLoader to declare that it implements MDCTypographyFontLoading.
ShadowLayer
MDCShadowLayer
modified property: shadowMaskEnabled
in MDCShadowLayer
Type of change: | declaration |
---|---|
From: | @property (assign, readwrite, nonatomic) BOOL shadowMaskEnabled; |
To: | @property (getter=isShadowMaskEnabled, assign, readwrite, nonatomic) BOOL shadowMaskEnabled; |
Component changes
ActivityIndicator
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
AnimationTiming
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
AppBar
Changes
- - Re-adding NSCoding Support (#1008) (Justin Shephard)
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
ButtonBar
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
Buttons
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
CollectionLayoutAttributes
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
Collections
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
Dialogs
Changes
- Update README.md (#1028) (ianegordon)
- [Catalog] Update dialog storyboard to rotate properly (#1031) (ianegordon)
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
FeatureHighlight
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
FlexibleHeader
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
HeaderStackView
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
Ink
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
NavigationBar
Changes
- Adding guidance to NavigationBar's docs about not using center-aligned titles (#1030) (Junius Gunaratne)
- [AppBar] - Re-adding NSCoding Support (#1008) (Justin Shephard)
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
OverlayWindow
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
PageControl
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
Palettes
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
ProgressView
Changes
- [Readmes] Snippets in Swift 3 (#1039) (Will Larche)
ShadowElevations
Changes
ShadowLayer
Changes
- Add NSCoder support. (Mark 2) (#1045) (ianegordon)
- Initial NSCoding support (#987) (ianegordon)
- Revert "Initial NSCoding support (#987)" (Ian Gordon)
- Update ShadowElevation and ShadowLayer examples in README.md to Swift 3 (#1041) (Junius Gunaratne)
- [Typography] Remove Font Loaders (#1035) (ianegordon)
Slider
Changes
- [Readmes] Snippets in Swift 3 (#1050) (Will Larche)
Snackbar
Changes
- [Readmes] Snippets in Swift 3 (#1050) (Will Larche)
Typography
Changes
- Remove Font Loaders (#1035) (ianegordon)
- Removed runtime check for MDCRoboto within typography. (#1055) (Randall Li)
- [Readmes] Snippets in Swift 3 (#1050) (Will Larche)
- updated bare measurements. (#1063) (Randall Li)
Release 18.0.0
API diffs
ButtonBar
- MDCButtonBar is now IB_DESIGNABLE.
MDCButtonBarDelegate
modified method: -buttonBar:viewForItem:layoutHints:
in MDCButtonBarDelegate
Type of change: | swift declaration |
---|---|
From: | func buttonBar(_ buttonBar: MDCButtonBar!, viewForItem barButtonItem: Any!, layoutHints: Any!) -> Any! |
To: | func buttonBar(_ buttonBar: MDCButtonBar, viewForItem barButtonItem: Any!, layoutHints: Any!) -> Any! |
modified method: -buttonBar:viewForItem:layoutHints:
in MDCButtonBarDelegate
Type of change: | declaration |
---|---|
From: | - (UIView *)buttonBar:(MDCButtonBar *)buttonBar viewForItem:(UIBarButtonItem *)barButtonItem layoutHints:(MDCBarButtonItemLayoutHints)layoutHints; |
To: | - (nonnull UIView *)buttonBar:(nonnull MDCButtonBar *)buttonBar viewForItem:(nonnull UIBarButtonItem *)barButtonItem layoutHints:(MDCBarButtonItemLayoutHints)layoutHints; |
MDCButtonBar
modified property: items
in MDCButtonBar
Type of change: | declaration |
---|---|
From: | @property (readwrite, copy, nonatomic) NSArray<UIBarButtonItem *> *items; |
To: | @property (readwrite, copy, nonatomic, nullable) NSArray<UIBarButtonItem *> *items; |
FlexibleHeader
MDCFlexibleHeaderViewController
new method: -updateTopLayoutGuide
in MDCFlexibleHeaderViewController
FontDiskLoader
MDCFontDiskLoader
modified class: MDCFontDiskLoader
Type of change: | key.deprecation_message |
---|---|
From: | `` |
To: | Use https://github.com/material-foundation/material-font-disk-loader-ios instead. |
modified class: MDCFontDiskLoader
Type of change: | key.always_deprecated |
---|---|
From: | 0 |
To: | 1 |
HeaderStackView
- MDCHeaderStackView is now IB_DESIGNABLE.
RobotoFontLoader
MDCRobotoFontLoader
modified class: MDCRobotoFontLoader
Type of change: | key.deprecation_message |
---|---|
From: | `` |
To: | Use https://github.com/material-foundation/material-roboto-font-loader-ios instead. |
modified class: MDCRobotoFontLoader
Type of change: | key.always_deprecated |
---|---|
From: | 0 |
To: | 1 |
SpritedAnimationView
MDCSpritedAnimationView
modified class: MDCSpritedAnimationView
Type of change: | key.deprecation_message |
---|---|
From: | `` |
To: | Use https://github.com/material-foundation/material-sprited-animation-view-ios instead. |
modified class: MDCSpritedAnimationView
Type of change: | key.always_deprecated |
---|---|
From: | 0 |
To: | 1 |
Switch
- MDCSwitch has been removed, please use UISwitch instead.
Component changes
ActivityIndicator
Changes
- Capitalize "Material" in documentation (#1014) (Adrian Secord)
AnimationTiming
Changes
- Capitalize "Material" in documentation (#1014) (Adrian Secord)
AppBar
Changes
- - Added NSCoding supprt, added commonInit and commonetViewSetup methods (#994) (Justin Shephard)
- Capitalize "Material" in documentation (#1014) (Adrian Secord)
- Convert component examples to Swift 3 (#1002) (Adrian Secord)
- Revert "- Added NSCoding supprt, added commonInit and commonetViewSetup methods (#994)" (#1005) (Justin Shephard)
- [FlexibleHeader] - Update TopLayoutGuide for Paired VC (#923) (Justin Shephard)
ButtonBar
Changes
- - Adding NSCoding compliance to component, IBDesignable, nullability qualifiers (#980) (Justin Shephard)
- Convert component examples to Swift 3 (#1002) (Adrian Secord)
- Remove struct hacks (#992) (Adrian Secord)
Buttons
Changes
- Capitalize "Material" in documentation (#1014) (Adrian Secord)
- Convert component examples to Swift 3 (#1002) (Adrian Secord)
CollectionCells
Changes
- Capitalize "Material" in documentation (#1014) (Adrian Secord)
- Layout subviews after updating interface for editing (#989) (Jackie Quinn)
- Remove struct hacks (#992) (Adrian Secord)
Collections
Changes
- Capitalize "Material" in documentation (#1014) (Adrian Secord)
- Convert component examples to Swift 3 (#1002) (Adrian Secord)
Dialogs
Changes
- Capitalize "Material" in documentation (#1014) (Adrian Secord)
- Convert component examples to Swift 3 (#1002) (Adrian Secord)
FeatureHighlight
Changes
- Remove struct hacks (#992) (Adrian Secord)
FlexibleHeader
Changes
- - Added Swift Example (#1009) (Justin Shephard)
- - Update TopLayoutGuide for Paired VC (#923) (Justin Shephard)
- Add float cast to avoid warnings (#979) (ianegordon)
- Capitalize "Material" in documentation (#1014) (Adrian Secord)
- Convert component examples to Swift 3 (#1002) (Adrian Secord)
- Remove struct hacks (#992) (Adrian Secord)
FontDiskLoader
Changes
- Deprecate migrating components. (#1007) (Adrian Secord)
- Removed FontDiskLoader tests. They were using font assets from another component RobotoFontLoader which is causing problems. Also the component is depreciated and moved into MDFFontDiskLoader. (#1016) (Randall Li)
HeaderStackView
Changes
- - Added IB_Designable, NSCoding support, swift example (#983) (Justin Shephard)
- Convert component examples to Swift 3 (#1002) (Adrian Secord)
- Remove struct hacks (#992) (Adrian Secord)
Ink
Changes
- Capitalize "Material" in documentation (#1014) (Adrian Secord)
NavigationBar
Changes
- - Added NSCoding support (#985) (Justin Shephard)
- - Component Checklist (#996) (Justin Shephard)
- Convert component examples to Swift 3 (#1002) (Adrian Secord)
- Remove struct hacks (#992) (Adrian Secord)
- Update title frame then apply RTL for title alignment. #831 (#991) (Junius Gunar...
Release 17.2.0
API Changes
FlexibleHeader
MDCFlexibleHeaderView
is now markedIB_DESIGNABLE
.
Switch
MDCSwitch
is completely deprecated and will be removed in the next release. We recommend apps use UISwitch instead.
Component changes
ActivityIndicator
Changes
- Add missing language switcher comments to READMEs (#963) (Sam Morrison)
- [Documentation] Putting Swift snippets before Objc (#960) (Will Larche)
- [MDCActivityIndicator] Add API documentation links to README.md (#950) (Junius Gunaratne)
AnimationTiming
Changes
- Add jekyll file and update pod spec (Junius Gunaratne)
- Add missing language switcher comments to READMEs (#963) (Sam Morrison)
- [Documentation] Putting Swift snippets before Objc (#960) (Will Larche)
AppBar
Changes
ButtonBar
Changes
Buttons
Changes
CollectionCells
Changes
CollectionLayoutAttributes
Changes
Collections
Changes
Dialogs
Changes
- Add RTL Support (#972) (ianegordon)
- [Documentation] Putting Swift snippets before Objc (#960) (Will Larche)
FeatureHighlight
Changes
- Fix .png and .mp4 file names to match
scripts/check_components
(#946) (Adrian Secord) - [Documentation] Putting Swift snippets before Objc (#960) (Will Larche)
FlexibleHeader
Changes
- - Added NSCoding compliance to component, IBDesignab… (#973) (Justin Shephard)
- Fixed double/CGFloat conversion error and formatting in MDCFlexibleHeaderView.m. (Adrian Secord)
- Undid CGFloat cast for one property. (Adrian Secord)
- [Documentation] Putting Swift snippets before Objc (#960) (Will Larche)
FontDiskLoader
Changes
HeaderStackView
Changes
Ink
Changes
NavigationBar
Changes
- Fix .png and .mp4 file names to match
scripts/check_components
(#946) (Adrian Secord) - [Documentation] Putting Swift snippets before Objc (#960) (Will Larche)
OverlayWindow
Changes
PageControl
Changes
Palettes
Changes
ProgressView
Changes
RobotoFontLoader
Changes
ShadowElevations
Changes
ShadowLayer
Changes
- Fix .png and .mp4 file names to match
scripts/check_components
(#946) (Adrian Secord) - [Documentation] Putting Swift snippets before Objc (#960) (Will Larche)
- [Shadows] Scrub comments (#948) (ianegordon)
Slider
Changes
Snackbar
Changes
SpritedAnimationView
Changes
- Fix .png and .mp4 file names to match
scripts/check_components
(#946) (Adrian Secord) - [Documentation] Putting Swift snippets before Objc (#960) (Will Larche)
Switch
Changes
- Deprecated Switch and removed its examples. (#951) (Adrian Secord)
- [Documentation] Putting Swift snippets before Objc (#960) (Will Larche)