Permalink
Browse files

Flesh out the settings first group.

  • Loading branch information...
jverkoey committed Jun 7, 2012
1 parent 9d8787e commit d6bce94b33bf634115bb53a7f093290cd6aa1dab
Showing with 12 additions and 0 deletions.
  1. +12 −0 Settings/RootController.m
View
@@ -46,6 +46,18 @@ - (id)initWithStyle:(UITableViewStyle)style {
subtitle:@"Off"];
wifi.cellStyle = UITableViewCellStyleValue1;
[contents addObject:wifi];
+ NISubtitleCellObject* personalHotspot = [NISubtitleCellObject objectWithTitle:@"Personal Hotspot"
+ subtitle:@"Off"];
+ personalHotspot.cellStyle = UITableViewCellStyleValue1;
+ [contents addObject:personalHotspot];
+ NITitleCellObject* notifications = [NITitleCellObject objectWithTitle:@"Notifications"
+ image:[UIImage imageNamed:@"notifications_icon"]];
+ [contents addObject:notifications];
+ NISubtitleCellObject* locationServices = [NISubtitleCellObject objectWithTitle:@"Location Services"
+ subtitle:@"Off"
+ image:[UIImage imageNamed:@"Location"]];
+ locationServices.cellStyle = UITableViewCellStyleValue1;
+ [contents addObject:locationServices];
self.actions = [[NITableViewActions alloc] initWithController:self];
[self.actions attachNavigationAction:NIPushControllerAction([WifiViewController class])

0 comments on commit d6bce94

Please sign in to comment.