Skip to content

Commit

Permalink
[TextFields] Corrected imports in examples. (#2655)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 178286593
  • Loading branch information
randallli committed Dec 11, 2017
1 parent 27e8722 commit 63abcad
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 8 deletions.
Expand Up @@ -16,9 +16,11 @@
*/

#import <Foundation/Foundation.h>
#import "TextFieldInterfaceBuilderExampleSupplemental.h"
#import <UIKit/UIKit.h>

@import MaterialComponents.MaterialTextFields;
#import "MaterialTextFields.h"

#import "supplemental/TextFieldInterfaceBuilderExampleSupplemental.h"

@interface TextFieldInterfaceBuilderExample () <UITextFieldDelegate>

Expand Down
Expand Up @@ -16,9 +16,11 @@
*/

#import <Foundation/Foundation.h>
#import "supplemental/TextFieldInterfaceBuilderExampleSupplemental.h"
#import <UIKit/UIKit.h>

#import "MaterialTextFields.h"

@import MaterialComponents.MaterialTextFields;
#import "supplemental/TextFieldInterfaceBuilderExampleSupplemental.h"

@interface TextFieldInterfaceBuilderLegacyExample () <UITextFieldDelegate>

Expand Down
Expand Up @@ -24,6 +24,7 @@ import MaterialComponents.MaterialTextFields
import MaterialComponents.MaterialAppBar
import MaterialComponents.MaterialButtons
import MaterialComponents.MaterialTypography
import MaterialComponents.MaterialPalettes

final class TextFieldKitchenSinkSwiftExample: UIViewController {

Expand Down
Expand Up @@ -14,9 +14,11 @@
limitations under the License.
*/

#import "supplemental/TextFieldPresentationStylesLegacyExampleSupplemental.h"
#import <UIKit/UIKit.h>

#import "MaterialTextFields.h"

@import MaterialComponents.MaterialTextFields;
#import "supplemental/TextFieldPresentationStylesLegacyExampleSupplemental.h"

@interface TextFieldPresentationStylesExample ()

Expand Down
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

@import UIKit;
#import <UIKit/UIKit.h>

@interface TextFieldInterfaceBuilderExample : UIViewController

Expand Down
Expand Up @@ -21,6 +21,10 @@

import UIKit

import MaterialComponents.MaterialAppBar
import MaterialComponents.MaterialButtons
import MaterialComponents.MaterialTextFields

extension TextFieldKitchenSinkSwiftExample {

func setupExampleViews() {
Expand Down
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

@import UIKit;
#import <UIKit/UIKit.h>

@interface TextFieldPresentationStylesExample : UIViewController <UITextFieldDelegate>

Expand Down
Expand Up @@ -14,6 +14,8 @@
limitations under the License.
*/

#import <UIKit/UIKit.h>

#import "TextFieldPresentationStylesLegacyExampleSupplemental.h"

@implementation TextFieldPresentationStylesExample (Supplemental)
Expand Down

0 comments on commit 63abcad

Please sign in to comment.