Op 16 feb 2011, om 11:39 heeft Quincey Morris het volgende geschreven:
> On Feb 16, 2011, at 00:19, Remco Poelstra wrote:
>
>> Leaves me wondering how that KVO registering works, how does the runtime now
>> that it's the same path that is monitored?
>
> Actually, there's no magic involved* --
On Feb 16, 2011, at 00:19, Remco Poelstra wrote:
> Leaves me wondering how that KVO registering works, how does the runtime now
> that it's the same path that is monitored?
Actually, there's no magic involved* -- it's kind of obvious**, in the sense
that it has to work this way***, even if the
Op 15 feb 2011, om 23:59 heeft Quincey Morris het volgende geschreven:
> On Feb 15, 2011, at 11:27, Kyle Sluder wrote:
>
>> As long as -current and -preset0 return the same object, and that
>> object is KVO-compliant for @"parameters", then observing
>> @"current.parameters" and @"preset0.parame
On Feb 15, 2011, at 11:27, Kyle Sluder wrote:
> As long as -current and -preset0 return the same object, and that
> object is KVO-compliant for @"parameters", then observing
> @"current.parameters" and @"preset0.parameters" are equivalent.
Kyle beat me to the punch on this part of the answer, but
On Tue, Feb 15, 2011 at 11:09 AM, Remco Poelstra wrote:
> Thanks for your reply.
> The problem with this solution is that when I do a setValue:object
> forKeyPath:@"preset0.parameter", and @"preset0" is the current preset, than
> no KVO message is sent to observers observing the @"current" variant
Hi,
Thanks for your reply.
The problem with this solution is that when I do a setValue:object
forKeyPath:@"preset0.parameter", and @"preset0" is the current preset,
than no KVO message is sent to observers observing the @"current"
variant of the keyPath. That would only happen, if they used
On Feb 15, 2011, at 05:11, Remco Poelstra wrote:
> I've a "PresetsController" which holds a dictionary containing preset
> settings for my application. The presets contain trees (Mutable Dictionaries)
> of keys.
> To save the GUI code from bothering with tracking the current preset, I want
> to
Hi,
I've a "PresetsController" which holds a dictionary containing preset settings
for my application. The presets contain trees (Mutable Dictionaries) of keys.
To save the GUI code from bothering with tracking the current preset, I want to
give my PresetController the option to replace a keyPat