Re: NSSortDescriptor not working with array of custom classes
Re: NSSortDescriptor not working with array of custom classes
- Subject: Re: NSSortDescriptor not working with array of custom classes
- From: Shawn Erickson <email@hidden>
- Date: Sun, 4 Nov 2007 15:05:11 -0800
On Nov 4, 2007, at 2:50 PM, Ken Tozier wrote:
On Oct 19, 2007, at 2:26 PM, Jim Correia wrote:
Have you been able to isolate the behavior down to a standalone
sample?
I find that to be useful because it shows me my bug, or gives me
something I can dump directly into radar. If you do that, send me
the sample too, because I'm curious what is going on here :-)
Well I ran into this problem again with another class and after
several hours of head scratching, it appears that when initializing
sort descriptors you *must* use the actual name of any property you
want to sort on. You can't use accessors to those properties.
Can you post a complete code sample that shows the problem you are
reporting. We are having to guess at what your class(es) involved
really look like. You can simplify it down to some thing that shows
the issue you having.
Anyway you are doing things that I shouldn't have to do...
-Shawn
_______________________________________________
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