• 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
Re: Bindings + Trapping Changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings + Trapping Changes


  • Subject: Re: Bindings + Trapping Changes
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 17 Jun 2006 21:04:48 -0700


On Jun 15, 2006, at 3:59 PM, Keary Suska wrote:

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.


The only option is to use dependent keys in the destination object:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueObserving/>


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).


Given that bindings work with dictionaries, it's not clear why you would think that they wouldn't?
You simply observe the relevant key.


No core data-based suggestions, please. It is not an option.

It's not clear why Core Data would be relevant here?

mmalc

_______________________________________________
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: Keary Suska <email@hidden>
References: 
 >Bindings + Trapping Changes (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Detecting Illegitimate OS X Installations?
  • Next by Date: Re: Bindings + Trapping Changes
  • Previous by thread: Re: Bindings + Trapping Changes
  • Next by thread: Re: Bindings + Trapping Changes
  • Index(es):
    • Date
    • Thread