Re: Manual Cocoa Binding - Custom Value Transformer
Re: Manual Cocoa Binding - Custom Value Transformer
- Subject: Re: Manual Cocoa Binding - Custom Value Transformer
- From: "b.bum" <email@hidden>
- Date: Sun, 18 Jul 2004 11:23:33 -0700
On Jul 18, 2004, at 11:09 AM, Brent Gulanowski wrote:
I'm looking for it, but I can't see how this differ's from Jonathan's
second attempt. As an aside, I thought that -dictionary returns an
immutable dictionary even when sent to NSMutableDictionary? Then
again, the error "attempt to modify immutable" doesn't happen, and
I've heard a rumour that some "immutable" instances are really
mutable....
The option name is "NSValueTransformer", not "NSValueTransformerName"
as it was in the original version.
+dictionary returns a mutable dictionary when invoked upon
NSMutableDictionary.
Rumors are generally easily dispelled by reading the documentation.
Programming by rumor is generally counterproductive.
b.bum
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.