-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathScheduleNavigationController.m
38 lines (32 loc) · 1.27 KB
/
ScheduleNavigationController.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// ScheduleNavigationController.m
// barfbag
//
// Created by Lincoln Six Echo on 03.12.12.
// Copyright (c) 2012 appdoctors. All rights reserved.
//
#import "ScheduleNavigationController.h"
#import "FahrplanViewController.h"
@implementation ScheduleNavigationController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
self.tabBarItem.image = [UIImage imageNamed:@"plan.png"];
self.tabBarItem.title = LOC( @"Fahrplan" );
self.navigationBar.barStyle = UIBarStyleBlackOpaque;
self.navigationBar.tintColor = kCOLOR_BACK;
}
return self;
}
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
FahrplanViewController *controller = [[FahrplanViewController alloc] initWithNibName:@"FahrplanViewController" bundle:nil];
[self pushViewController:controller animated:NO];
self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:LOC( @"Zurück" ) style:UIBarButtonItemStylePlain target:nil action:nil];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end