Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: ios/showcase/settings/sc_settings_coordinator.mm

Issue 2651833002: [ios showcase]Configures Resource Bundle and adds Toolbar Coordinator (Closed)
Patch Set: Removes Application State dependency Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/showcase/settings/settings_coordinator.h" 5 #import "ios/showcase/settings/sc_settings_coordinator.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc) 7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support." 8 #error "This file requires ARC support."
9 #endif 9 #endif
10 10
11 @implementation SettingsCoordinator 11 @implementation SCSettingsCoordinator
12 12
13 @synthesize baseViewController; 13 @synthesize baseViewController;
14 14
15 - (void)start { 15 - (void)start {
16 UIViewController* settings = [[UIViewController alloc] init]; 16 UIViewController* settings = [[UIViewController alloc] init];
17 settings.title = @"Settings"; 17 settings.title = @"Settings";
18 settings.view.backgroundColor = [UIColor grayColor]; 18 settings.view.backgroundColor = [UIColor grayColor];
19 [self.baseViewController pushViewController:settings animated:YES]; 19 [self.baseViewController pushViewController:settings animated:YES];
20 } 20 }
21 21
22 @end 22 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698