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

Commit 9a006b8

Browse files
iberezanmaterial-automation
authored andcommitted
Fix capitalization for deprecation messages and a few comments in MDCAlertControllerView.
PiperOrigin-RevId: 302471807
1 parent e79828d commit 9a006b8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

components/Dialogs/src/MDCAlertControllerView.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
@property(nonatomic, strong, nullable) UIColor *titleIconTintColor;
2424

2525
@property(nonatomic, assign) NSTextAlignment titleAlignment __deprecated_msg(
26-
"Please use MDCAlertcontroller titleAlignment instead.");
26+
"Please use MDCAlertController titleAlignment instead.");
2727
@property(nonatomic, assign) NSTextAlignment messageAlignment __deprecated_msg(
28-
"Please use MDCAlertcontroller messageAlignment instead.");
28+
"Please use MDCAlertController messageAlignment instead.");
2929

3030
/** An optional custom icon view above the title of the alert. */
3131
@property(nonatomic, strong, nullable) UIView *titleIconView __deprecated_msg(
32-
"Please use MDCAlertcontroller+Customize titleIconView instead.");
32+
"Please use MDCAlertController+Customize titleIconView instead.");
3333

3434
@property(nonatomic, strong, nullable) UIFont *messageFont UI_APPEARANCE_SELECTOR;
3535
@property(nonatomic, strong, nullable) UIColor *messageColor UI_APPEARANCE_SELECTOR;
@@ -43,25 +43,25 @@
4343

4444
/*
4545
Indicates whether the view's contents should automatically update their font when the device’s
46-
UIContentSizeCategory changes.
46+
@c UIContentSizeCategory changes.
4747
48-
This property is modeled after the adjustsFontForContentSizeCategory property in the
49-
UIContentSizeCategoryAdjusting protocol added by Apple in iOS 10.
48+
This property is modeled after @c adjustsFontForContentSizeCategory property in
49+
@c UIContentSizeCategoryAdjusting protocol added by Apple in iOS 10.
5050
51-
Default value is NO.
51+
Defaults to @c NO.
5252
*/
5353
@property(nonatomic, readwrite, setter=mdc_setAdjustsFontForContentSizeCategory:)
5454
BOOL mdc_adjustsFontForContentSizeCategory UI_APPEARANCE_SELECTOR;
5555

5656
/**
57-
By setting this property to @c YES, the Ripple component will be used instead of Ink
58-
to display visual feedback to the user.
57+
By setting this property to @c YES, the Ripple component will be used instead of Ink to display
58+
visual feedback to the user.
5959
60-
@note This property will eventually be enabled by default, deprecated, and then deleted as part
61-
of our migration to Ripple. Learn more at
60+
@note This property will eventually be enabled by default, deprecated, and then deleted as part of
61+
our migration to Ripple. Learn more at
6262
https://github.com/material-components/material-components-ios/tree/develop/components/Ink#migration-guide-ink-to-ripple
6363
64-
Defaults to NO.
64+
Defaults to @c NO.
6565
*/
6666
@property(nonatomic, assign) BOOL enableRippleBehavior;
6767

0 commit comments

Comments
 (0)