Created
October 10, 2009 16:24
-
-
Save j4johnfox/206938 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (id)tableView:(CPTableView)aTableView objectValueForTableColumn:(CPTableColumn)aColumn row:(int)aRow | |
{ | |
if (![timePlaceMarkerArray count]) | |
{ | |
return nil; | |
} | |
var myMarker = [timePlaceMarkerArray objectAtIndex:aRow]; | |
var myValue = ""; | |
if (myMarker) | |
{ | |
myValue = [myMarker valueForKey:[aColumn identifier]]; | |
if ([myValue isKindOfClass:[CPDate class]]) | |
{ | |
myValue = [myValue yearMonthDateString]; | |
} | |
} | |
return myValue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment