Re: Boggled By Bindings
Re: Boggled By Bindings
- Subject: Re: Boggled By Bindings
- From: Jacob Lukas <email@hidden>
- Date: Thu, 30 Sep 2004 18:09:33 -0700
On Sep 30, 2004, at 5:46 PM, Scott Stevenson wrote:
On Sep 30, 2004, at 4:26 PM, Jacob Lukas wrote:
You could probably do the same by just overriding -arrangedObjects and doing the manual change notification in there.
I believe -arrangedObjects is called when another object wants the arranged objects, not when the arranged objects are changed. I could be wrong, though.
Yeah, good point. Maybe overriding "arrangeObjects:" (without the "d") would work better in that case.
I think you'd have to override a lot of functions:
<x-tad-bigger>
- addObject:
- addObjects:
- insertObject:atArrangedObjectIndex:
- insertObjects:atArrangedObjectIndexes:
- removeObjectAtArrangedObjectIndex:
- removeObjectsAtArrangedObjectIndexes:
- removeObject:</x-tad-bigger>
<x-tad-bigger>– removeObjects:</x-tad-bigger>
I'm sure some of them use each other, but you'd have to test and see. I think it would be easier to do it the way I first proposed.
Jacob
<x-tad-smaller>PowerMac G4 Digital Audio 466MHz, ATI Radeon 9000 128MB VRAM, 896MB RAM, Mac OS 10.3.5... yes I know, it's time to get a new computer
</x-tad-smaller> _______________________________________________
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