• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: tableView:sortDescriptorsDidChange: question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tableView:sortDescriptorsDidChange: question


  • Subject: Re: tableView:sortDescriptorsDidChange: question
  • From: Chris Pavicich <email@hidden>
  • Date: Mon, 24 May 2004 08:24:49 -0400

Sorry,

it was a wild-ass-guess. I should have said that. :(

My apologies, Bill.

cmp

On May 24, 2004, at 3:03, Scott Anguish wrote:

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.


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.


References: 
 >tableView:sortDescriptorsDidChange: question (From: Bill Cheeseman <email@hidden>)
 >Re: tableView:sortDescriptorsDidChange: question (From: Chris Pavicich <email@hidden>)
 >Re: tableView:sortDescriptorsDidChange: question (From: Scott Anguish <email@hidden>)

  • Prev by Date: Textured palettes / draggable regions
  • Next by Date: Re: [Q] Inheritance, Composition and Abstract super classes
  • Previous by thread: Re: tableView:sortDescriptorsDidChange: question
  • Next by thread: Re: tableView:sortDescriptorsDidChange: question
  • Index(es):
    • Date
    • Thread