Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Commit c8cbbef

Browse files
committed
Hand-modified CHANGELOG.md API diff.
1 parent fb6c8b0 commit c8cbbef

File tree

1 file changed

+37
-9
lines changed

1 file changed

+37
-9
lines changed

CHANGELOG.md

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,44 @@
1-
# #develop#
1+
# 107.2.0
22

3-
Replace this text with a summarized description of this release's contents.
4-
## Breaking changes
5-
6-
Replace this explanations for how to resolve the breaking changes.
7-
## New deprecations
3+
This minor release includes the introduction of a self-sizing mechanism to MDCBaseCell, a new layout style for MDCTabBarView, and numerous improvements and bug fixes for BottomSheet, Snackbar, Dialogs, Ink, and TextFields.
84

9-
Replace this text with links to deprecation guides.
105
## New features
116

12-
Replace this text with example code for each new feature.
13-
## API changes
7+
### List
8+
9+
Having the `UICollectionViewLayoutAttributes` you use with `MDCBaseCell` conform to `MDCSelfSizingLayoutAttributes` allows you to specify whether the height or the width should be fixed.
10+
11+
```objc
12+
-(BOOL)isFixedWidth {
13+
return 100;
14+
}
15+
16+
-(BOOL)isFixedHeight {
17+
return 100;
18+
}
19+
```
20+
21+
```swift
22+
var isFixedWidth: Bool {
23+
return 100;
24+
}
25+
26+
var isFixedHeight: Bool {
27+
return 100;
28+
}
29+
```
30+
31+
### Tabs
32+
33+
Setting the `preferredLayoutStyle` property on `MDCTabBarView` to `MDCTabBarViewLayoutStyleScrollableCentered` allows you to have a scrolling tab bar that centers the selected tab.
34+
35+
```objc
36+
tabBarView.preferredLayoutStyle = MDCTabBarViewLayoutStyleScrollableCentered;
37+
```
38+
39+
```swift
40+
tabBarView.preferredLayoutStyle = .scrollableCentered
41+
```
1442

1543
## Component changes
1644

0 commit comments

Comments
 (0)