Re: Sorting NSStrings in NSTableColumn (need 10 after 9)
Re: Sorting NSStrings in NSTableColumn (need 10 after 9)
- Subject: Re: Sorting NSStrings in NSTableColumn (need 10 after 9)
- From: Lee Morgan <email@hidden>
- Date: Fri, 8 Apr 2005 21:21:51 -0400
Thanks for the help guys.
I got it worked out, I made a subclass of NSSortDescriptor and set up
the compareObject method to sort the items the way I needed, then at
run time I just use setSortDescriptorPrototype to set my subclass to
the sort descriptor for my column. It works quite well; although I
don't know if it is the "correct" way to do this.
- lee
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden