Re: Sort ordering and custom cells [fixed]
Re: Sort ordering and custom cells [fixed]
- Subject: Re: Sort ordering and custom cells [fixed]
- From: Gideon King <email@hidden>
- Date: Wed, 14 Jul 2010 10:25:07 +1000
I found the problem. It was that I was looking in my source array using objectAtIndex:row, which is the actual row in the table as displayed. Seeing as my array is not sorted - it just has sort descriptors applied, I was getting the wrong value from my data array.
I resolved the issue by creating an outlet to my array controller and connecting that up, and when I want the data, I ask the array controller's arrangedObjects for objectAtIndex:row.
Gideon_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden