• 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 Cocoa Binding - Custom Value Transformer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Manual Cocoa Binding - Custom Value Transformer (From: Jonathan Younger <email@hidden>)
 >Re: Manual Cocoa Binding - Custom Value Transformer (From: "b.bum" <email@hidden>)
 >Re: Manual Cocoa Binding - Custom Value Transformer (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: Re: ObjC
  • Next by Date: Re: Cocoa, OpenGL, and Display Lists
  • Previous by thread: Re: Manual Cocoa Binding - Custom Value Transformer
  • Next by thread: AppleScript framework: architecture proposal
  • Index(es):
    • Date
    • Thread