Skip navigation.
 
mlRe: KVO and the observeValueForKeyPath bottleneck
FROM : Scott Anguish
DATE : Fri Jul 21 23:01:12 2006

On Jul 21, 2006, at 11:46 AM, George Orthwein wrote:

> On Jul 21, 2006, at 4:11 AM, Scott Anguish wrote:

>> in my original reply, when I said controller I meant specifically 
>> NS*Controller

>
> So the only recommended application of "one way" bindings would be 
> between an NS*Controller and an NSView subclass, or also possibly 
> between an NS*Controller and a model class?


   I'm not sure what you mean by "one-way".  We have what are called 
"read-only" bindings (where the attribute that you've bound to an 
object will not cause any changes in the UI to be propagated back to 
the object).

>
> That's good to know and I don't think it's come up in past 
> discussions, or at least stated as plainly. The lack of any mention 
> of "one way" bindings is what I was referring to in the docs... 
> though it now seems that there is only a specific application for 
> them anyway. (Well, NS*Controller and a custom view should be 
> pretty common....)
>
> It's a good point for this discussion though, since we seemed to be 
> settling in on:
>

>> True. I guess if you want to avoid the KVO "bottleneck" you can 
>> just use "one way" bindings instead!


   just to ensure clarity. this is not my position and I didn't write 
that.

>
> A general statement like doesn't work, since KVO can be used in 
> situations where "one way" bindings aren't recommended (Matt's 
> position notwithstanding :) ).



   Regardless of matt's position, it isn't recommended.

Related mailsAuthorDate
mlKVO and the observeValueForKeyPath bottleneck Matt Neuburg Jul 14, 19:44
mlRe: KVO and the observeValueForKeyPath bottleneck George Orthwein Jul 15, 07:36
mlRe: KVO and the observeValueForKeyPath bottleneck Aaron Burghardt Jul 15, 22:56
mlRe: KVO and the observeValueForKeyPath bottleneck Jakob Olesen Jul 17, 12:38
mlRe: KVO and the observeValueForKeyPath bottleneck Jakob Olesen Jul 17, 13:03
mlRe: KVO and the observeValueForKeyPath bottleneck Matt Neuburg Jul 17, 16:38
mlRe: KVO and the observeValueForKeyPath bottleneck Jakob Olesen Jul 17, 16:57
mlRe: KVO and the observeValueForKeyPath bottleneck Matt Neuburg Jul 17, 17:31
mlRe: KVO and the observeValueForKeyPath bottleneck Chris Kane Jul 17, 18:09
mlRe: KVO and the observeValueForKeyPath bottleneck Matt Neuburg Jul 17, 19:49
mlRe: Re: KVO and the observeValueForKeyPath bottleneck Michael Ash Jul 17, 20:11
mlRe: KVO and the observeValueForKeyPath bottleneck Chris Kane Jul 17, 20:24
mlRe: KVO and the observeValueForKeyPath bottleneck Matt Neuburg Jul 17, 20:31
mlRe: KVO and the observeValueForKeyPath bottleneck Scott Anguish Jul 17, 22:00
mlRe: KVO and the observeValueForKeyPath bottleneck Chris Kane Jul 17, 22:42
mlRe: KVO and the observeValueForKeyPath bottleneck Jakob Olesen Jul 17, 23:16
mlRe: KVO and the observeValueForKeyPath bottleneck Matt Neuburg Jul 18, 00:43
mlRe: KVO and the observeValueForKeyPath bottleneck Chris Kane Jul 18, 03:00
mlRe: KVO and the observeValueForKeyPath bottleneck Jim Correia Jul 18, 05:37
mlRe: KVO and the observeValueForKeyPath bottleneck Jakob Olesen Jul 18, 16:06
mlRe: KVO and the observeValueForKeyPath bottleneck Jim Correia Jul 18, 18:11
mlRe: KVO and the observeValueForKeyPath bottleneck Matt Neuburg Jul 19, 02:44
mlRe: KVO and the observeValueForKeyPath bottleneck George Orthwein Jul 20, 21:25
mlRe: KVO and the observeValueForKeyPath bottleneck Scott Anguish Jul 20, 22:14
mlRe: KVO and the observeValueForKeyPath bottleneck Matt Neuburg Jul 21, 03:57
mlRe: KVO and the observeValueForKeyPath bottleneck Scott Anguish Jul 21, 10:11
mlRe: KVO and the observeValueForKeyPath bottleneck George Orthwein Jul 21, 17:46
mlRe: KVO and the observeValueForKeyPath bottleneck Scott Anguish Jul 21, 23:01