From ea05359343d1c321e1ad4009b736a60a98300c46 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Wed, 12 Oct 2011 10:54:30 -0500 Subject: [PATCH] Adding self-deprecating apology for utter lack of command of AppKit --- Mac Example/Classes/Controllers/NearbySpotsController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Mac Example/Classes/Controllers/NearbySpotsController.m b/Mac Example/Classes/Controllers/NearbySpotsController.m index f699331..a62b5db 100644 --- a/Mac Example/Classes/Controllers/NearbySpotsController.m +++ b/Mac Example/Classes/Controllers/NearbySpotsController.m @@ -98,6 +98,7 @@ 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 { Spot *spot = [self.nearbySpots objectAtIndex:row];