Bindings + Trapping Changes
Bindings + Trapping Changes
- Subject: Bindings + Trapping Changes
- From: Keary Suska <email@hidden>
- Date: Thu, 15 Jun 2006 16:59:14 -0600
I am wondering if there is a way to determine whether a change has occurred
via bindings, without having to manually observe all of the keys.
Essentially, I want to bind an interface to an NSDictionary belonging to my
model object. I need to know if any element in the dict has been modified,
so I can propagate those modifications elsewhere.
The design model is a detail screen where changes can be made, then, as a
group, accepted (e.g. "saved") or rejected (e.g. "canceled"). If "saved",
then propagation of changed values occurs.
I thought perhaps I could just observe the dict, but I don't recall whether
NSDictionary triggers notifications on element changes (or I am just brain
farting here).
No core data-based suggestions, please. It is not an option.
Thanks,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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