• 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: Manual KVO and will/didChangeValueForKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manual KVO and will/didChangeValueForKey


  • Subject: Re: Manual KVO and will/didChangeValueForKey
  • From: Andrew White <email@hidden>
  • Date: Fri, 03 Jun 2005 16:27:04 +1000


mmalcolm crawford wrote:

if necessary register dependencies with setKeys:triggerChangeNotificationsForDependentKey:.

Does this call work across objects? From the syntax it seems to only register dependencies within the same object.


I'm basically wanting to define a property on B that says 'B objectInKeyAtIndex: X' returns whatever 'A objectInKeyAtIndex: X' would return, with the caveat that A.key is either static or updated as a complete entity. The A objectInKeyAtIndex values are created on demand based on a block of raw data (from an incoming data packet), which is why I'm leery of creating a regular 'A setKey' accessor, since that's not really what's happening.

--
Andrew White

--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
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: Manual KVO and will/didChangeValueForKey
      • From: mmalcolm crawford <email@hidden>
References: 
 >Manual KVO and will/didChangeValueForKey (From: Andrew White <email@hidden>)
 >Re: Manual KVO and will/didChangeValueForKey (From: Tim Lucas <email@hidden>)
 >Re: Manual KVO and will/didChangeValueForKey (From: mmalcolm crawford <email@hidden>)
 >Re: Manual KVO and will/didChangeValueForKey (From: Andrew White <email@hidden>)
 >Re: Manual KVO and will/didChangeValueForKey (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Program structure
  • Next by Date: Re: Manual KVO and will/didChangeValueForKey
  • Previous by thread: Re: Manual KVO and will/didChangeValueForKey
  • Next by thread: Re: Manual KVO and will/didChangeValueForKey
  • Index(es):
    • Date
    • Thread