Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

stadidas

macrumors regular
Original poster
Feb 27, 2006
243
0
Kent, United Kingdom
Hi everyone on MacRumors.

I'm having trouble with a pesky NSTableView class. I have it's dataSource set to my MyDocument class, which suppplies it with a NSMutableArray containing instances of a custom class of mine called "Log". Log contains three variables: 'description' which is a string, 'amount' which is a double, and 'date' which is a NSCalendarDate.
When I display the NSTableView it has no trouble with the double or the string, but if I try and get it to display the NSCalendarDate the debugger goes crazy. Date formatters may be applied to columns, so there must be a way of passing the tableView a date field. I just can't figure out exactly what to send it. Any help would be much appreciated!
 

stadidas

macrumors regular
Original poster
Feb 27, 2006
243
0
Kent, United Kingdom
Sorry everyone, I wrote a bad setter method which is why it wasn't working :rolleyes: Still, you live and learn. I wish I could get the last few hours back!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.