Re: Temporarily disabling bindings for performance?
Re: Temporarily disabling bindings for performance?
- Subject: Re: Temporarily disabling bindings for performance?
- From: Kai BrĂ¼ning <email@hidden>
- Date: Sun, 16 Dec 2007 18:39:47 +0100
>on 12/16/07 3:43 AM, email@hidden purportedly said:
>
>> Is there an (easy) way to disable the bindings in the currently
>> unused views? To my understanding these bindings stay live and eat
>> CPU cycles even while a container view with the bound controls is not
>> installed in a window.
>
>AFAIK, binding do not do anything--i.e. do not consume any cycles--until
>something changes. There is no "active maintaining" necessary. Its all
>trigger-based.
Sure, that's my understanding, too. But in a master-detail setup, the detail bindings are to the selection of the array controller. So all these bindings trigger whenever the array controller selection changes. That is, whenever the user changes the selection in the master list.
Best
Kai
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden