Skip to content

Instantly share code, notes, and snippets.

@aaronbrethorst
Created May 15, 2011 19:17
Show Gist options
  • Save aaronbrethorst/973446 to your computer and use it in GitHub Desktop.
Save aaronbrethorst/973446 to your computer and use it in GitHub Desktop.
diff --git a/Classes/MenuViewController.m b/Classes/MenuViewController.m
index 7254ccc..47fd8df 100755
--- a/Classes/MenuViewController.m
+++ b/Classes/MenuViewController.m
@@ -28,14 +28,7 @@
[_tableView setDataSource:self];
[_tableView setBackgroundColor:[UIColor clearColor]];
_tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 1)];
- [self.view addSubview:_tableView];
-
- UIView* verticalLineView = [[UIView alloc] initWithFrame:CGRectMake(self.view.frame.size.width, -5, 1, self.view.frame
- [verticalLineView setAutoresizingMask:UIViewAutoresizingFlexibleHeight];
- [verticalLineView setBackgroundColor:[UIColor whiteColor]];
- [self.view addSubview:verticalLineView];
- [self.view bringSubviewToFront:verticalLineView];
-
+ [self.view addSubview:_tableView];
}
return self;
}
diff --git a/Classes/RootViewController.m b/Classes/RootViewController.m
index 80240c9..3b8d320 100755
--- a/Classes/RootViewController.m
+++ b/Classes/RootViewController.m
@@ -96,7 +96,7 @@
[rootView addSubview:leftMenuView];
[rootView addSubview:rightSlideView];
- [self.view setBackgroundColor:[UIColor colorWithPatternImage: [UIImage imageNamed:@"backgroundImage_repeat.png"]]];
+ self.view.backgroundColor = [UIColor scrollViewTexturedBackgroundColor];
[self.view addSubview:rootView];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment