Skip to content

Commit

Permalink
Mark symbols to be deprecated
Browse files Browse the repository at this point in the history
Follow button guidance at go/material-ios-buttons instead.

PiperOrigin-RevId: 457976908
  • Loading branch information
CGRect authored and material-automation committed Jun 29, 2022
1 parent cc835b5 commit f2191da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/src/NIButtonUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

API_DEPRECATED_BEGIN(
"Use a branded UIButton instead (http://go/material-ios-buttons)",
ios(12, API_TO_BE_DEPRECATED))

#if defined __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -90,3 +94,5 @@ void NIApplyTitleColorSelectorToButton(SEL selector, id target, UIButton* button
#if defined __cplusplus
}
#endif

API_DEPRECATED_END

0 comments on commit f2191da

Please sign in to comment.