Re: tableView:sortDescriptorsDidChange: question
Re: tableView:sortDescriptorsDidChange: question
- Subject: Re: tableView:sortDescriptorsDidChange: question
- From: Scott Anguish <email@hidden>
- Date: Mon, 24 May 2004 03:03:57 -0400
I don't this has anything to do with KVO.
it's a did change, not will change, so it's only telling you what the
old value was.
On May 23, 2004, at 10:19 PM, Chris Pavicich wrote:
Bill:
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.
Not sure exactly how you change it though....
On May 23, 2004, at 16:17, Bill Cheeseman wrote:
I finally figured out how to use sort descriptors.
But I have one remaining question: why does the
-tableView:sortDescriptorsDidChange: protocol method send me the
oldDescriptors in the second parameter? I'm wondering what they're
good for.
--
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.
It doesn't sound to me like they ever intended to do much science, it
sounds like they intended to fuck around and burn shit, which they did
with a high degree of success.
_______________________________________________
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.
_______________________________________________
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.