Skip to content

Commit 4bcf887

Browse files
yarneomaterial-automation
authored andcommitted
[Chips] Deprecate rippleAllowsSelection as we move away from MDCStatefulRippleView and to a simpler MDCRippleView when enableRippleBehavior is set to YES.
PiperOrigin-RevId: 331188085
1 parent dcda040 commit 4bcf887

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/Chips/src/MDCChipView.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@
121121
122122
Defaults to: Yes.
123123
*/
124-
@property(nonatomic) BOOL rippleAllowsSelection;
124+
@property(nonatomic) BOOL rippleAllowsSelection __deprecated_msg(
125+
"Use native UIKit APIs to control whether the chip is selected or not, using either the "
126+
".selected API, or, with MDCChipCollectionViewCell, by calling the `deselectItemAtIndexPath` "
127+
"API to remove selection.");
125128

126129
/*
127130
The shape generator used to define the chip's shape.

0 commit comments

Comments
 (0)