Re: Bindings Problem
Re: Bindings Problem
- Subject: Re: Bindings Problem
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 5 Jan 2006 17:05:32 -0800
On Jan 5, 2006, at 3:50 PM, Camillo Lugaresi wrote:
2. Is there a way I can post a notification in 'B' that the bound
value will notice something has changed? (thus avoiding making
'A' get
involved)... E.G. is it documented anywhere what should get
posted and
could I throw this manually (via my code)
willChangeValueForKey:
didChangeValueForKey:
This may be misleading. *You must not simply sprinkle your code with
KVO change notifications*.
If a value changes, it is only valid to -- indeed, you must -- invoke
willChangeValueForKey: *before* a value changes, see <http://
www.cocoabuilder.com/archive/message/cocoa/2005/12/23/153094>.
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