Skip to content

Commit

Permalink
Merge branch 'master' of github.com:myellow/Less-2-Do
Browse files Browse the repository at this point in the history
  • Loading branch information
myell0w committed Dec 4, 2009
2 parents 682b789 + 9d44bd5 commit b6d5386
Show file tree
Hide file tree
Showing 13 changed files with 236 additions and 1,029 deletions.
34 changes: 0 additions & 34 deletions Classes/ContextDetailController.h

This file was deleted.

245 changes: 0 additions & 245 deletions Classes/ContextDetailController.m

This file was deleted.

13 changes: 4 additions & 9 deletions Classes/ContextsFirstLevelViewController.m
Expand Up @@ -8,7 +8,7 @@

#import "ContextsFirstLevelViewController.h"
#import "TasksListViewController.h"
#import "ContextDetailController.h"
#import "ContextDetailViewController.h"

@implementation ContextsFirstLevelViewController

Expand All @@ -33,17 +33,12 @@ -(IBAction)toggleEdit:(id)sender {
}

- (IBAction)toggleAdd:(id)sender {
/*ContextDetailController *contextDetail = [[ContextDetailController alloc] initWithStyle:UITableViewStyleGrouped];
ContextDetailViewController *contextDetail = [[ContextDetailViewController alloc] initWithStyle:UITableViewStyleGrouped andParent:self];
contextDetail.title = @"Add Context";
UINavigationController* nc = [[UINavigationController alloc] initWithRootViewController:contextDetail];
[contextDetail release];
[self presentModalViewController:nc animated:YES];
[nc release];*/

ContextDetailController *contextDetail = [[ContextDetailController alloc] initWithStyle:UITableViewStyleGrouped];
contextDetail.title = @"Add Context";
[self.navigationController pushViewController:contextDetail animated:YES];
[contextDetail release];
[nc release];
}

-(void)viewDidLoad {
Expand Down Expand Up @@ -214,7 +209,7 @@ - (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexP
[self.navigationItem.leftBarButtonItem setTitle:@"Edit"];
[self.navigationItem.leftBarButtonItem setStyle:UIBarButtonItemStyleBordered];

ContextDetailController *contextDetail = [[ContextDetailController alloc] initWithStyle:UITableViewStyleGrouped andContext:context];
ContextDetailViewController *contextDetail = [[ContextDetailViewController alloc] initWithStyle:UITableViewStyleGrouped andParent:self andContext:context];
contextDetail.title = context.name;
[self.navigationController pushViewController:contextDetail animated:YES];
[contextDetail release];
Expand Down
35 changes: 0 additions & 35 deletions Classes/FolderDetailController.h

This file was deleted.

0 comments on commit b6d5386

Please sign in to comment.