equal
deleted
inserted
replaced
21 optionList = [[NSArray alloc] initWithObjects:NSLocalizedString(@"General",@""), |
21 optionList = [[NSArray alloc] initWithObjects:NSLocalizedString(@"General",@""), |
22 NSLocalizedString(@"Teams",@""), |
22 NSLocalizedString(@"Teams",@""), |
23 NSLocalizedString(@"Weapons",@""), |
23 NSLocalizedString(@"Weapons",@""), |
24 NSLocalizedString(@"Schemes",@""), |
24 NSLocalizedString(@"Schemes",@""), |
25 nil]; |
25 nil]; |
26 |
26 self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:0 target:self action:@selector(dismissSplitView)]; |
|
27 |
27 // Uncomment the following line to preserve selection between presentations. |
28 // Uncomment the following line to preserve selection between presentations. |
28 //self.clearsSelectionOnViewWillAppear = NO; |
29 //self.clearsSelectionOnViewWillAppear = NO; |
29 // Uncomment the following line to display an Edit button in the navigation bar for this view controller. |
30 // Uncomment the following line to display an Edit button in the navigation bar for this view controller. |
30 //self.navigationItem.rightBarButtonItem = self.editButtonItem; |
31 //self.navigationItem.rightBarButtonItem = self.editButtonItem; |
31 } |
32 } |
116 [optionList release]; |
117 [optionList release]; |
117 [detailViewController release]; |
118 [detailViewController release]; |
118 [super dealloc]; |
119 [super dealloc]; |
119 } |
120 } |
120 |
121 |
|
122 -(IBAction) dismissSplitView { |
|
123 [[NSNotificationCenter defaultCenter] postNotificationName:@"dismissModalView" object:nil]; |
|
124 } |
121 |
125 |
122 @end |
126 @end |
123 |
127 |