Re: tableView:sortDescriptorsDidChange: question
Re: tableView:sortDescriptorsDidChange: question
- Subject: Re: tableView:sortDescriptorsDidChange: question
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 24 May 2004 05:24:19 -0400
on 2004-05-23 10:19 PM, Chris Pavicich at email@hidden wrote:
>
Check out:
>
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
>
ObjC_classic/Protocols/NSKeyValueObserving.html
>
>
It looks like whatever is observing your sortDescriptor is set to
>
NSKeyValueObservingOptionOld instead of
>
NSKeyValueObservingOptionNew.
Actually, I haven't caught up with Cocoa Bindings yet. I'm just sorting my
table columns "by hand," so to speak, the old fashioned new fashioned way.
I was curious about the oldDescriptors argument, because I can't think of
very many places where Cocoa hands me something I don't normally need just
because it might be useful sometimes. It threw me off while I was trying to
figure out how to use sort descriptors.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.