This repository was archived by the owner on Dec 11, 2025. It is now read-only.
v79.2.0
79.2.0
This minor release introduces a bug fix and new API to Flexible Header, Beta Theming Extensions for
App Bar and Text Fields, and additional component snapshot tests.
New features
MDCFlexibleHeaderView has a new API that can be called from UIScrollViewDelegates to notify it of
updated adjusted content inset values.
func scrollViewDidChangeAdjustedContentInset(_ scrollView: UIScrollView) {
if #available(iOS 11.0, *) {
self.appBarViewController.headerView.trackingScrollDidChangeAdjustedContentInset(scrollView)
}
}- (void)scrollViewDidChangeAdjustedContentInset:(UIScrollView *)scrollView {
if (@available(iOS 11.0, *)) {
[self.appBarViewController.headerView
trackingScrollViewDidChangeAdjustedContentInset:scrollView];
}
}API changes
AppBar+MaterialTheming
New extension.
FlexibleHeader
MDCFlexibleHeaderView
new method: -trackingScrollViewDidChangeAdjustedContentInset: in MDCFlexibleHeaderView
MDCFlexibleHeaderView()
new category: MDCFlexibleHeaderView()
removed category: MDCFlexibleHeaderView()
modified property: contentView in MDCFlexibleHeaderView()
| Type of change: | parent.usr |
|---|---|
| From: | c:objc(ext)MDCFlexibleHeaderView@MDCFlexibleHeaderView.h@14987 |
| To: | c:objc(ext)MDCFlexibleHeaderView@MDCFlexibleHeaderView.h@15448 |
TextFields+Theming
New extension.
Changes
ActionSheet
- Add basic Snapshot tests. (#6917) (Robert Moore)
AppBar
- Add theming extension for MDCAppBarViewController (#6903) (Robert Moore)
BottomNavigation
- Fix image updates in ItemView (#6847) (Robert Moore)
- More snapshots for item icons. (#6855) (Robert Moore)
- Restore examples titles. (#6869) (Robert Moore)
- Snapshot test for selection bug (#6843) (Robert Moore)
- Split alignment snapshot tests. (#6856) (Robert Moore)
- Use new test icons. (#6898) (Robert Moore)
FlexibleHeader
- update contentInset when tracked view's adjustedContentInset is changed. (#6868) (Wenyu Zhang)
- refactor internal helper methods (#6862) (Wenyu Zhang)
Ink
- Add basic snapshot tests. (#6920) (Robert Moore)
ShadowElevations
- Add basic snapshot tests. (#6829) (Robert Moore)
ShadowLayer
- Add basic Snapshot tests. (#6921) (Robert Moore)
TextFields
private/Snapshot
- Fix test image scale and clipping. (#6899) (Robert Moore)
- Adding 4 more test image styles. (#6897) (Robert Moore)
Multi-component changes
- Include snapshot tests in examples in Podspec (#6895) (Wenyu Zhang)
- Removing nil-coalescing operators per issue #6827 (#6859) (Joe Aguilar)
- Revert "[Typography] Dynamic Type 2.0 (#6733)" (#6848) (ianegordon)