• 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: Can a value transformer get its own registration name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can a value transformer get its own registration name?


  • Subject: Re: Can a value transformer get its own registration name?
  • From: Bill Cheeseman <email@hidden>
  • Date: Thu, 12 Apr 2007 15:20:39 -0400
  • Thread-topic: Can a value transformer get its own registration name?

on 2007-04-12 3:09 PM, Jim Correia at email@hidden wrote:

>> Or are you saying that you do rely on the registration name, but
>> only to get
>> the right instance -- and that the instance's behavior is then
>> determined by
>> the iVar you embedded in it when it was initialized?
>
> Exactly. The registration table is a convenience for specifying
> transformers by name in nibs (or other code which needs to look them
> up by name). The registration name should be meaningful to those who
> need to find the transformer by name, but shouldn't be overloaded to
> encode state information that should be specified in transformer
> instances themselves.

That's very clear, and persuasive. Thanks.

--

Bill Cheeseman


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Can a value transformer get its own registration name? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Can a value transformer get its own registration name?
  • Next by Date: Re: primary/secondary selection pattern for NSArrayController?
  • Previous by thread: Re: Can a value transformer get its own registration name?
  • Next by thread: Re: Can a value transformer get its own registration name?
  • Index(es):
    • Date
    • Thread