Re: Can a value transformer get its own registration name?
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