• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bindings + Trapping Changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Bindings + Trapping Changes
      • From: mmalcolm crawford <email@hidden>
    • Re: Bindings + Trapping Changes
      • From: George Orthwein <email@hidden>
  • Prev by Date: NSComparisonPredicate and floats
  • Next by Date: Re: Apple's Secret Desktop Sauce
  • Previous by thread: NSComparisonPredicate and floats
  • Next by thread: Re: Bindings + Trapping Changes
  • Index(es):
    • Date
    • Thread