Skip navigation.
 
mlRe: Manual Cocoa Binding - Custom Value Transformer
FROM : b.bum
DATE : Sun Jul 18 20:23:33 2004

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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlManual Cocoa Binding - Custom Value Transformer Jonathan Younger Jul 17, 08:09
mlRe: Manual Cocoa Binding - Custom Value Transformer mmalcolm crawford Jul 17, 08:44
mlRe: Manual Cocoa Binding - Custom Value Transformer b.bum Jul 17, 19:29
mlRe: Manual Cocoa Binding - Custom Value Transformer Brent Gulanowski Jul 18, 20:09
mlRe: Manual Cocoa Binding - Custom Value Transformer b.bum Jul 18, 20:23