|
14 | 14 |
|
15 | 15 | #import "MDCMinimumOS.h" // IWYU pragma: keep |
16 | 16 |
|
17 | | -#import "MDCElevatable.h" // ComponentImport |
18 | | -#import "MDCElevationOverriding.h" // ComponentImport |
19 | | -#import "MaterialElevation.h" // ComponentImport |
20 | | - |
21 | 17 | #import <UIKit/UIKit.h> |
22 | 18 | #import "MaterialButtons.h" // ComponentImport |
23 | 19 | #import "MaterialElevation.h" // ComponentImport |
@@ -46,9 +42,8 @@ typedef NS_ENUM(NSInteger, MDCBannerViewLayoutStyle) { |
46 | 42 | The [Material Guideline](https://material.io/design/components/banners.html) has more details on |
47 | 43 | component usage. |
48 | 44 | */ |
49 | | -__attribute__((objc_subclassing_restricted)) |
50 | | -@interface MDCBannerView |
51 | | - : UIView<MDCElevatable, MDCElevationOverriding, UIContentSizeCategoryAdjusting> |
| 45 | +__attribute__((objc_subclassing_restricted)) @interface MDCBannerView |
| 46 | + : UIView<MDCElevatable, MDCElevationOverriding> |
52 | 47 | #pragma clang diagnostic pop |
53 | 48 |
|
54 | 49 | /** |
@@ -153,12 +148,6 @@ __attribute__((objc_subclassing_restricted)) |
153 | 148 | */ |
154 | 149 | @property(nonatomic, readonly) BOOL isM3CButtonEnabled; |
155 | 150 |
|
156 | | -/** |
157 | | - A Boolean that indicates whether the object automatically updates its font when the device’s |
158 | | - content size category changes. |
159 | | - */ |
160 | | -@property(nonatomic, readwrite, assign) BOOL adjustsFontForContentSizeCategory; |
161 | | - |
162 | 151 | /** Initializes the @c MDCBannerView to be compatible with M3. This |
163 | 152 | * means using @c M3CButton instead of @c MDCButton for @c leadingButton and |
164 | 153 | * @c trailingButton. |
|
0 commit comments