Adding self-deprecating apology for utter lack of command of AppKit

This commit is contained in:
Mattt Thompson 2011-10-12 10:54:30 -05:00
parent c7af6d7397
commit ea05359343

View file

@ -98,6 +98,7 @@
return [self.nearbySpots count]; return [self.nearbySpots count];
} }
// The following is what happens when a longtime iOS dev attempts to work with AppKit. I'm sure there's a _much_ better way to do this.
- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { - (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
Spot *spot = [self.nearbySpots objectAtIndex:row]; Spot *spot = [self.nearbySpots objectAtIndex:row];