Re: Bindings + Trapping Changes
Re: Bindings + Trapping Changes
- Subject: Re: Bindings + Trapping Changes
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 17 Jun 2006 21:05:11 -0700
On Jun 17, 2006, at 7:05 PM, George Orthwein wrote:
If that doesn't work, I bet you could override setValue:forKey: in
a NSMutableDictionary subclass.
NSMutableDictionary emits change notifications when values are
changed for a key.
It recently worked for me (with NSManagedObject, but that shouldn't
matter):
http://www.cocoabuilder.com/archive/message/cocoa/2006/6/5/165031
The documentation explicitly warns against overriding
setValue:forKey: in a subclass of NSManagedObject...
<http://developer.apple.com/documentation/Cocoa/Reference/
CoreDataFramework/Classes/NSManagedObject_Class/Reference/
Reference.html#//apple_ref/occ/instm/NSManagedObject/setValue:forKey:>
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