Re: addObserver:forKeyPath:options:context
Re: addObserver:forKeyPath:options:context
- Subject: Re: addObserver:forKeyPath:options:context
- From: Eric Long <email@hidden>
- Date: Mon, 17 Apr 2006 13:46:56 -0700
>> I want to know when the user has changed an object's value so I can
>> enable my "Save Changes" button.
>>
> How else are you tracking changes?
Well, tracking changes when using bindings is what I'm trying to understand.
I'm not experienced with bindings. I'm trying to learn how to work with
them.
Without bindings, I'd see changes as they are made to objects in my glue
code. Now bindings are doing all the work of applying user edits. How do I
know what's changed?
It seemed like since the bindings are modifying my objects and not my own
code directly, the bindings system could also tell me when it modifies the
data so I can track the changes.
> Because conceptually it's an orthogonal problem.
Ok. If observing all properties of all objects in my array is not the
right direction, what is the right way?
Eric
_______________________________________________
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