Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

Commit 2f1bcf2

Browse files
committed
[Tabs] Formatting.
1 parent ba6ff44 commit 2f1bcf2

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

components/Tabs/examples/supplemental/TabBarIconExampleSupplemental.m

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,19 @@
2222

2323
#import "TabBarIconExampleSupplemental.h"
2424

25-
#import "MaterialTabs.h"
2625
#import "MaterialButtons.h"
26+
#import "MaterialTabs.h"
2727

2828
@implementation TabBarIconExample (Supplemental)
2929

3030
- (void)setupExampleViews {
31-
3231
self.view.backgroundColor = [UIColor whiteColor];
3332

3433
UIBarButtonItem *badgeIncrementItem =
35-
[[UIBarButtonItem alloc] initWithTitle:@"Increment"
36-
style:UIBarButtonItemStylePlain
37-
target:self
38-
action:@selector(incrementBadges:)];
34+
[[UIBarButtonItem alloc] initWithTitle:@"Increment"
35+
style:UIBarButtonItemStylePlain
36+
target:self
37+
action:@selector(incrementBadges:)];
3938
self.navigationItem.rightBarButtonItem = badgeIncrementItem;
4039

4140
// Button to change tab alignments.
@@ -44,8 +43,8 @@ - (void)setupExampleViews {
4443
[self.alignmentButton sizeToFit];
4544
self.alignmentButton.center = CGPointMake(CGRectGetMidX(self.view.bounds), 100);
4645
self.alignmentButton.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin |
47-
UIViewAutoresizingFlexibleBottomMargin |
48-
UIViewAutoresizingFlexibleRightMargin;
46+
UIViewAutoresizingFlexibleBottomMargin |
47+
UIViewAutoresizingFlexibleRightMargin;
4948
[self.alignmentButton addTarget:self
5049
action:@selector(changeAlignment:)
5150
forControlEvents:UIControlEventTouchUpInside];

components/Tabs/examples/supplemental/TabBarTextOnlyExampleSupplemental.m

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,19 @@
2121

2222
#import "TabBarTextOnlyExampleSupplemental.h"
2323

24-
#import "MaterialTabs.h"
2524
#import "MaterialButtons.h"
25+
#import "MaterialTabs.h"
2626

2727
@implementation TabBarTextOnlyExample (Supplemental)
2828

2929
- (void)setupExampleViews {
30-
3130
self.view.backgroundColor = [UIColor whiteColor];
3231

3332
UIBarButtonItem *badgeIncrementItem =
34-
[[UIBarButtonItem alloc] initWithTitle:@"Increment"
35-
style:UIBarButtonItemStylePlain
36-
target:self
37-
action:@selector(incrementBadges:)];
33+
[[UIBarButtonItem alloc] initWithTitle:@"Increment"
34+
style:UIBarButtonItemStylePlain
35+
target:self
36+
action:@selector(incrementBadges:)];
3837
self.navigationItem.rightBarButtonItem = badgeIncrementItem;
3938

4039
// Button to change tab alignments.
@@ -43,11 +42,11 @@ - (void)setupExampleViews {
4342
[self.alignmentButton sizeToFit];
4443
self.alignmentButton.center = CGPointMake(CGRectGetMidX(self.view.bounds), 100);
4544
self.alignmentButton.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin |
46-
UIViewAutoresizingFlexibleBottomMargin |
47-
UIViewAutoresizingFlexibleRightMargin;
45+
UIViewAutoresizingFlexibleBottomMargin |
46+
UIViewAutoresizingFlexibleRightMargin;
4847
[self.alignmentButton addTarget:self
49-
action:@selector(changeAlignment:)
50-
forControlEvents:UIControlEventTouchUpInside];
48+
action:@selector(changeAlignment:)
49+
forControlEvents:UIControlEventTouchUpInside];
5150
[self.view addSubview:self.alignmentButton];
5251
}
5352

0 commit comments

Comments
 (0)