equal
deleted
inserted
replaced
33 #pragma mark - |
33 #pragma mark - |
34 #pragma mark View lifecycle |
34 #pragma mark View lifecycle |
35 -(void) viewDidLoad { |
35 -(void) viewDidLoad { |
36 [super viewDidLoad]; |
36 [super viewDidLoad]; |
37 |
37 |
38 UIBarButtonItem *editButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Edit",@"from the scheme panel") |
38 UIBarButtonItem *editButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Edit",@"") |
39 style:UIBarButtonItemStyleBordered |
39 style:UIBarButtonItemStyleBordered |
40 target:self |
40 target:self |
41 action:@selector(toggleEdit:)]; |
41 action:@selector(toggleEdit:)]; |
42 self.navigationItem.rightBarButtonItem = editButton; |
42 self.navigationItem.rightBarButtonItem = editButton; |
43 [editButton release]; |
43 [editButton release]; |