From 1437067081c38031d16e80f08437d4667543bce0 Mon Sep 17 00:00:00 2001 From: Jeff Verkoeyen Date: Wed, 10 Feb 2021 16:14:01 -0800 Subject: [PATCH] Optimizing imports PiperOrigin-RevId: 356851164 --- components/AppBar/examples/AppBarImageryExample.m | 3 +++ .../examples/AppBarInterfaceBuilderExampleController.m | 2 ++ components/AppBar/examples/AppBarModalPresentationExample.m | 2 ++ components/AppBar/examples/AppBarPresentedExample.m | 2 -- components/AppBar/examples/AppBarPresentedHiddenExample.m | 2 +- components/AppBar/examples/AppBarSectionHeadersExample.m | 2 ++ .../AppBar/examples/AppBarTypicalCollectionViewExample.m | 5 ++++- components/AppBar/examples/AppBarTypicalUseExample.m | 6 +++++- .../AppBar/examples/AppBarWKWebViewLargeContentExample.m | 6 +++++- .../examples/AppBarWKWebViewLargeContentNoBugExample.m | 6 +++++- .../AppBar/examples/AppBarWKWebViewSmallContentBugExample.m | 6 +++++- .../AppBar/examples/AppBarWKWebViewSmallContentExample.m | 6 +++++- components/AppBar/examples/AppBarWrappedExample.m | 5 ++++- .../examples/AppBarWrappingUITableViewControllerExample.m | 5 ++++- 14 files changed, 47 insertions(+), 11 deletions(-) diff --git a/components/AppBar/examples/AppBarImageryExample.m b/components/AppBar/examples/AppBarImageryExample.m index 533de3fae26..95fabfb6f8c 100644 --- a/components/AppBar/examples/AppBarImageryExample.m +++ b/components/AppBar/examples/AppBarImageryExample.m @@ -16,6 +16,9 @@ #import "MaterialAppBar+ColorThemer.h" #import "MaterialAppBar.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialNavigationBar.h" +#import "MaterialColorScheme.h" @interface AppBarImageryExample : UITableViewController @property(nonatomic, strong) MDCAppBarViewController *appBarViewController; diff --git a/components/AppBar/examples/AppBarInterfaceBuilderExampleController.m b/components/AppBar/examples/AppBarInterfaceBuilderExampleController.m index f039635b2a0..b7dfa5780e4 100644 --- a/components/AppBar/examples/AppBarInterfaceBuilderExampleController.m +++ b/components/AppBar/examples/AppBarInterfaceBuilderExampleController.m @@ -16,6 +16,8 @@ #import "MaterialAppBar+ColorThemer.h" #import "MaterialAppBar.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialColorScheme.h" @interface AppBarInterfaceBuilderExample : UIViewController diff --git a/components/AppBar/examples/AppBarModalPresentationExample.m b/components/AppBar/examples/AppBarModalPresentationExample.m index 91c98aa14f9..06f7422ac76 100644 --- a/components/AppBar/examples/AppBarModalPresentationExample.m +++ b/components/AppBar/examples/AppBarModalPresentationExample.m @@ -16,6 +16,8 @@ #import "MaterialAppBar+ColorThemer.h" #import "MaterialAppBar.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialColorScheme.h" @interface AppBarModalPresentationExamplePresented : UITableViewController @property(strong, nonatomic) MDCAppBarViewController *appBarViewController; diff --git a/components/AppBar/examples/AppBarPresentedExample.m b/components/AppBar/examples/AppBarPresentedExample.m index 9de828f200d..4c65a5efb18 100644 --- a/components/AppBar/examples/AppBarPresentedExample.m +++ b/components/AppBar/examples/AppBarPresentedExample.m @@ -15,8 +15,6 @@ #import #import "AppBarSampleViewController.h" -#import "MaterialAppBar.h" -#import "MaterialAppBar+Theming.h" #import "MaterialButtons.h" #import "MaterialButtons+Theming.h" #import "MaterialContainerScheme.h" diff --git a/components/AppBar/examples/AppBarPresentedHiddenExample.m b/components/AppBar/examples/AppBarPresentedHiddenExample.m index 6b42fc311eb..4dc8f9eea6c 100644 --- a/components/AppBar/examples/AppBarPresentedHiddenExample.m +++ b/components/AppBar/examples/AppBarPresentedHiddenExample.m @@ -16,10 +16,10 @@ #import "AppBarSampleViewController.h" #import "MaterialAppBar.h" -#import "MaterialAppBar+Theming.h" #import "MaterialAvailability.h" #import "MaterialButtons.h" #import "MaterialButtons+Theming.h" +#import "MaterialFlexibleHeader.h" #import "MaterialContainerScheme.h" // This example demonstrates a view controller being presented with the AppBar initially hidden. diff --git a/components/AppBar/examples/AppBarSectionHeadersExample.m b/components/AppBar/examples/AppBarSectionHeadersExample.m index 4168b6a586d..aa13890c6a8 100644 --- a/components/AppBar/examples/AppBarSectionHeadersExample.m +++ b/components/AppBar/examples/AppBarSectionHeadersExample.m @@ -16,6 +16,8 @@ #import "MaterialAppBar+ColorThemer.h" #import "MaterialAppBar.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialColorScheme.h" @interface AppBarSectionHeadersExample : UITableViewController diff --git a/components/AppBar/examples/AppBarTypicalCollectionViewExample.m b/components/AppBar/examples/AppBarTypicalCollectionViewExample.m index a5a1bbabbbb..92ee035b993 100644 --- a/components/AppBar/examples/AppBarTypicalCollectionViewExample.m +++ b/components/AppBar/examples/AppBarTypicalCollectionViewExample.m @@ -15,8 +15,11 @@ #import #import "MaterialAppBar+ColorThemer.h" -#import "MaterialAppBar+TypographyThemer.h" #import "MaterialAppBar.h" +#import "MaterialAppBar+TypographyThemer.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialColorScheme.h" +#import "MaterialTypographyScheme.h" @interface AppBarTypicalCollectionViewExample : UICollectionViewController diff --git a/components/AppBar/examples/AppBarTypicalUseExample.m b/components/AppBar/examples/AppBarTypicalUseExample.m index 102f0b850ec..a4d806d35ab 100644 --- a/components/AppBar/examples/AppBarTypicalUseExample.m +++ b/components/AppBar/examples/AppBarTypicalUseExample.m @@ -15,8 +15,12 @@ #import #import "MaterialAppBar+ColorThemer.h" -#import "MaterialAppBar+TypographyThemer.h" #import "MaterialAppBar.h" +#import "MaterialAppBar+TypographyThemer.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialNavigationBar.h" +#import "MaterialColorScheme.h" +#import "MaterialTypographyScheme.h" @interface AppBarTypicalUseExample : UITableViewController diff --git a/components/AppBar/examples/AppBarWKWebViewLargeContentExample.m b/components/AppBar/examples/AppBarWKWebViewLargeContentExample.m index 200014f6c6d..022fbcf4692 100644 --- a/components/AppBar/examples/AppBarWKWebViewLargeContentExample.m +++ b/components/AppBar/examples/AppBarWKWebViewLargeContentExample.m @@ -16,8 +16,12 @@ #import #import "MaterialAppBar+ColorThemer.h" -#import "MaterialAppBar+TypographyThemer.h" #import "MaterialAppBar.h" +#import "MaterialAppBar+TypographyThemer.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialNavigationBar.h" +#import "MaterialColorScheme.h" +#import "MaterialTypographyScheme.h" // This demonstrates that a WKWebView with large content as the tracking scroll view is able to // scroll as expected, even with the useAdditionalSafeAreaInsetsForWebKitScrollViews flag enabled. diff --git a/components/AppBar/examples/AppBarWKWebViewLargeContentNoBugExample.m b/components/AppBar/examples/AppBarWKWebViewLargeContentNoBugExample.m index 4e4497998f8..207a4328045 100644 --- a/components/AppBar/examples/AppBarWKWebViewLargeContentNoBugExample.m +++ b/components/AppBar/examples/AppBarWKWebViewLargeContentNoBugExample.m @@ -16,8 +16,12 @@ #import #import "MaterialAppBar+ColorThemer.h" -#import "MaterialAppBar+TypographyThemer.h" #import "MaterialAppBar.h" +#import "MaterialAppBar+TypographyThemer.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialNavigationBar.h" +#import "MaterialColorScheme.h" +#import "MaterialTypographyScheme.h" // This demonstrates that a WKWebView with large content as the tracking scroll view is able to // scroll as expected, even without the useAdditionalSafeAreaInsetsForWebKitScrollViews flag diff --git a/components/AppBar/examples/AppBarWKWebViewSmallContentBugExample.m b/components/AppBar/examples/AppBarWKWebViewSmallContentBugExample.m index 8fc0fe79528..7f8718ea38c 100644 --- a/components/AppBar/examples/AppBarWKWebViewSmallContentBugExample.m +++ b/components/AppBar/examples/AppBarWKWebViewSmallContentBugExample.m @@ -16,8 +16,12 @@ #import #import "MaterialAppBar+ColorThemer.h" -#import "MaterialAppBar+TypographyThemer.h" #import "MaterialAppBar.h" +#import "MaterialAppBar+TypographyThemer.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialNavigationBar.h" +#import "MaterialColorScheme.h" +#import "MaterialTypographyScheme.h" // This demonstrates a bug when WKWebView's scroll view is the tracking scroll view and the web // view's content is smaller than the screen. Note that the content is scrollable because the diff --git a/components/AppBar/examples/AppBarWKWebViewSmallContentExample.m b/components/AppBar/examples/AppBarWKWebViewSmallContentExample.m index 74a83106c72..1fedc068218 100644 --- a/components/AppBar/examples/AppBarWKWebViewSmallContentExample.m +++ b/components/AppBar/examples/AppBarWKWebViewSmallContentExample.m @@ -16,8 +16,12 @@ #import #import "MaterialAppBar+ColorThemer.h" -#import "MaterialAppBar+TypographyThemer.h" #import "MaterialAppBar.h" +#import "MaterialAppBar+TypographyThemer.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialNavigationBar.h" +#import "MaterialColorScheme.h" +#import "MaterialTypographyScheme.h" // This demonstrates that a WKWebView with minimal content as the tracking scroll view is not able // to scroll as expected. This requires enabling useAdditionalSafeAreaInsetsForWebKitScrollViews diff --git a/components/AppBar/examples/AppBarWrappedExample.m b/components/AppBar/examples/AppBarWrappedExample.m index 11efee12a86..b61ddc14aa6 100644 --- a/components/AppBar/examples/AppBarWrappedExample.m +++ b/components/AppBar/examples/AppBarWrappedExample.m @@ -15,8 +15,11 @@ #import #import "MaterialAppBar+ColorThemer.h" -#import "MaterialAppBar+TypographyThemer.h" #import "MaterialAppBar.h" +#import "MaterialAppBar+TypographyThemer.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialColorScheme.h" +#import "MaterialTypographyScheme.h" @interface WrappedDemoViewController : UIViewController @end diff --git a/components/AppBar/examples/AppBarWrappingUITableViewControllerExample.m b/components/AppBar/examples/AppBarWrappingUITableViewControllerExample.m index 397bd5d472d..86af0338c0c 100644 --- a/components/AppBar/examples/AppBarWrappingUITableViewControllerExample.m +++ b/components/AppBar/examples/AppBarWrappingUITableViewControllerExample.m @@ -15,8 +15,11 @@ #import #import "MaterialAppBar+ColorThemer.h" -#import "MaterialAppBar+TypographyThemer.h" #import "MaterialAppBar.h" +#import "MaterialAppBar+TypographyThemer.h" +#import "MaterialFlexibleHeader.h" +#import "MaterialColorScheme.h" +#import "MaterialTypographyScheme.h" @interface AppBarWrappingUITableViewControllerExample : UIViewController