Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)viewDidLoad { //<-- BÖRJAN AV VIEWDIDLOAD
- [super viewDidLoad];
- _sections = [[NSMutableArray alloc] init];
- //Adding two sections
- [_sections addObject:@"Pågående"];
- [_sections addObject:@"Klara"];
- //Delegate and datasource
- _tableView.delegate = self;
- _tableView.dataSource = self;
- } //<--- SLUTET AV VIEWDIDLOAD
- -(void)viewDidAppear:(BOOL)animated{
- //Retrieving data from NSUserDefaults
- [self retrieveUserDefaults];
- //Reloading tableview data
- [_tableView reloadData];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement