Adjust to recent ObjFW changes

This commit is contained in:
Jonathan Schleifer 2017-05-08 02:39:06 +02:00
parent 2086b2fa5d
commit a0047e1b54
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
11 changed files with 38 additions and 37 deletions

View file

@ -41,14 +41,14 @@
[super dealloc];
}
- (NSInteger)tableView: (UITableView*)tableView
- (NSInteger)tableView: (UITableView *)tableView
numberOfRowsInSection: (NSInteger)section
{
return [self.siteStorage sitesCount];
}
- (UITableViewCell*)tableView: (UITableView*)tableView
cellForRowAtIndexPath: (NSIndexPath*)indexPath
- (UITableViewCell *)tableView: (UITableView *)tableView
cellForRowAtIndexPath: (NSIndexPath *)indexPath
{
UITableViewCell *cell = [tableView
dequeueReusableCellWithIdentifier: @"site"];
@ -63,14 +63,14 @@
return cell;
}
- (void)tableView: (UITableView*)tableView
didSelectRowAtIndexPath: (NSIndexPath*)indexPath
- (void)tableView: (UITableView *)tableView
didSelectRowAtIndexPath: (NSIndexPath *)indexPath
{
[self performSegueWithIdentifier: @"showDetails"
sender: self];
}
- (void)prepareForSegue: (UIStoryboardSegue*)segue
- (void)prepareForSegue: (UIStoryboardSegue *)segue
sender: (id)sender
{
if ([segue.identifier isEqual: @"addSite"] ||