[NavigationBar] Add umbrella headers for all extension targets. (#3471)

Also updated all imports to make use of the umbrella headers.

Pivotal story: https://www.pivotaltracker.com/story/show/157045283
This commit is contained in:
featherless 2018-04-24 15:57:24 -04:00 committed by GitHub
parent 0cc6b487ae
commit e5679888fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 51 additions and 13 deletions

View File

@ -17,7 +17,7 @@
#import "MDCAppBarColorThemer.h"
#import "MDCFlexibleHeaderColorThemer.h"
#import "MDCNavigationBarColorThemer.h"
#import "MaterialNavigationBar+ColorThemer.h"
@implementation MDCAppBarColorThemer

View File

@ -16,7 +16,7 @@
#import "MDCAppBarTypographyThemer.h"
#import "MDCNavigationBarTypographyThemer.h"
#import "MaterialNavigationBar+TypographyThemer.h"
@implementation MDCAppBarTypographyThemer

View File

@ -23,8 +23,8 @@
#import "MaterialIcons+ic_info.h"
#import "MaterialIcons+ic_reorder.h"
#import "MaterialNavigationBar.h"
#import "MDCNavigationBarColorThemer.h"
#import "MDCNavigationBarTypographyThemer.h"
#import "MaterialNavigationBar+ColorThemer.h"
#import "MaterialNavigationBar+TypographyThemer.h"
#import "supplemental/NavigationBarTypicalUseExampleSupplemental.h"
@interface NavigationBarIconsExample ()

View File

@ -14,7 +14,7 @@
#import "MaterialIcons+ic_arrow_back.h"
#import "MaterialNavigationBar.h"
#import "MaterialTextFields.h"
#import "MDCNavigationBarColorThemer.h"
#import "MaterialNavigationBar+ColorThemer.h"
#import <MDFInternationalization/MDFInternationalization.h>
@interface NavigationBarLayoutExample : UIViewController <UITextFieldDelegate>

View File

@ -24,7 +24,7 @@
#import "MaterialIcons+ic_reorder.h"
#import "MaterialIcons+ic_check_circle.h"
#import "MaterialNavigationBar.h"
#import "MDCNavigationBarColorThemer.h"
#import "MaterialNavigationBar+ColorThemer.h"
#import "supplemental/NavigationBarTypicalUseExampleSupplemental.h"
@interface NavigationBarRTL : UIViewController

View File

@ -17,7 +17,7 @@
#import <UIKit/UIKit.h>
#import "MaterialNavigationBar.h"
#import "MDCNavigationBarColorThemer.h"
#import "MaterialNavigationBar+ColorThemer.h"
#import "supplemental/NavigationBarTypicalUseExampleSupplemental.h"
@interface NavigationBarTypicalUseExample ()

View File

@ -17,7 +17,7 @@
#import <UIKit/UIKit.h>
#import "MaterialNavigationBar.h"
#import "MDCNavigationBarColorThemer.h"
#import "MaterialNavigationBar+ColorThemer.h"
#import "supplemental/NavigationBarTypicalUseExampleSupplemental.h"
@implementation NavigationBarWithBarItemsExample

View File

@ -17,7 +17,7 @@
#import <UIKit/UIKit.h>
#import "MaterialNavigationBar.h"
#import "MDCNavigationBarColorThemer.h"
#import "MaterialNavigationBar+ColorThemer.h"
#import "supplemental/NavigationBarTypicalUseExampleSupplemental.h"
@implementation NavigationBarWithCustomFontExample

View File

@ -17,6 +17,8 @@
#import "MaterialColorScheme.h"
#import "MaterialNavigationBar.h"
#import <Foundation/Foundation.h>
/**
A color themer for MDCNavigationBar that implements the Material design color system mappings.
*/

View File

@ -0,0 +1,17 @@
/*
Copyright 2018-present the Material Components for iOS authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#import "MDCNavigationBarColorThemer.h"

View File

@ -17,6 +17,8 @@
#import "MaterialNavigationBar.h"
#import "MaterialTypographyScheme.h"
#import <Foundation/Foundation.h>
/**
Used to apply a typography scheme to theme MDCNavigationBar.
*/

View File

@ -0,0 +1,17 @@
/*
Copyright 2018-present the Material Components for iOS authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#import "MDCNavigationBarTypographyThemer.h"

View File

@ -16,7 +16,7 @@
import XCTest
import MaterialComponents.MaterialNavigationBar
import MaterialComponents.MDCNavigationBarColorThemer
import MaterialComponents.MaterialNavigationBar_ColorThemer
class NavigationBarColorThemerTests: XCTestCase {

View File

@ -18,7 +18,7 @@
#import "MaterialButtonBar.h"
#import "MaterialNavigationBar.h"
#import "MDCNavigationBarTypographyThemer.h"
#import "MaterialNavigationBar+TypographyThemer.h"
static const CGFloat kEpsilonAccuracy = 0.001f;

View File

@ -24,7 +24,7 @@
#import "MDCFeatureHighlightColorThemer.h"
#import "MDCFlexibleHeaderColorThemer.h"
#import "MDCHeaderStackViewColorThemer.h"
#import "MDCNavigationBarColorThemer.h"
#import "MaterialNavigationBar+ColorThemer.h"
#import "MDCPageControlColorThemer.h"
#import "MDCProgressViewColorThemer.h"
#import "MaterialSlider+ColorThemer.h"

View File

@ -33,7 +33,7 @@
#import "MDCFeatureHighlightColorThemer.h"
#import "MDCFlexibleHeaderColorThemer.h"
#import "MDCHeaderStackViewColorThemer.h"
#import "MDCNavigationBarColorThemer.h"
#import "MaterialNavigationBar+ColorThemer.h"
#import "MDCPageControlColorThemer.h"
#import "MDCProgressViewColorThemer.h"
#import "MaterialSlider+ColorThemer.h"