Whitespace syntax cleanup. Refs #614

This commit is contained in:
Jawwad Ahmad
2012-06-24 22:36:28 -04:00
committed by Blake Watters
parent 7cbccfd322
commit 82f4630d36
42 changed files with 92 additions and 92 deletions

View File

@@ -50,7 +50,7 @@
- (void)reachabilityChanged:(NSNotification *)notification
{
RKReachabilityObserver *observer = (RKReachabilityObserver *) [notification object];
RKReachabilityObserver *observer = (RKReachabilityObserver *)[notification object];
RKLogCritical(@"Received reachability update: %@", observer);
_flagsLabel.text = [NSString stringWithFormat:@"Host: %@ -> %@", observer.host, [observer reachabilityFlagsDescription]];

View File

@@ -151,13 +151,13 @@
}
if (indexPath.section == 0) {
Project *project = (Project *) [_objects objectAtIndex:indexPath.row];
Project *project = (Project *)[_objects objectAtIndex:indexPath.row];
cell.accessoryType = UITableViewCellAccessoryNone;
cell.textLabel.text = project.name;
} else if (indexPath.section == 1) {
// NOTE: We refetch the object here because Project is not Core Data backed
NSManagedObject *objectReference = [_selectedProject.tasks objectAtIndex:indexPath.row];
Task *task = (Task *) [[RKObjectManager sharedManager].objectStore objectWithID:[objectReference objectID]];
Task *task = (Task *)[[RKObjectManager sharedManager].objectStore objectWithID:[objectReference objectID]];
cell.textLabel.text = [NSString stringWithFormat:@"%@", task.name];
cell.detailTextLabel.text = [NSString stringWithFormat:@"Assigned to: %@", task.assignedUser.name];
}