• 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: Making a bound view re-read its value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a bound view re-read its value


  • Subject: Re: Making a bound view re-read its value
  • From: Markus Spoettl <email@hidden>
  • Date: Thu, 14 Aug 2008 22:59:30 -0700

On Aug 14, 2008, at 9:47 PM, Caleb Strockbine wrote:
Why not use -setKeys:triggerChangeNotificationsForDependentKey:? Make the key for your data dependent on the key for the preference, so that anyone who's watching the data will get a notification when the preference changes. This way, you don't worry about manually updating the view -- it'll happen automatically.


Unfortunately that doesn't work because the preference is in a different object, not the one holding the data.

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Making a bound view re-read its value (From: Caleb Strockbine <email@hidden>)

  • Prev by Date: Synchronous modal sheet
  • Next by Date: Re: Making a bound view re-read its value
  • Previous by thread: Re: Making a bound view re-read its value
  • Next by thread: NSPanel not receiving events.
  • Index(es):
    • Date
    • Thread