Re: Strange Tiger incompatability
Re: Strange Tiger incompatability
- Subject: Re: Strange Tiger incompatability
- From: "Ken Ferry" <email@hidden>
- Date: Fri, 24 Oct 2008 13:17:24 -0700
On Fri, Oct 24, 2008 at 10:54 AM, Kyle Sluder
<email@hidden> wrote:
> On Wed, Oct 22, 2008 at 2:14 PM, David Burnett <email@hidden> wrote:
>> Does any one know if IB Value Transformers instances working in Leopard
>> without registration is a feature or an happy accident ?
>
> It's undocumented; it may have been added as a compatibility hack or
> something similar in Leopard, but you shouldn't rely on its behavior.
>
Oh, interesting. This should be documented better, it's intentional.
This is in the NSValueTransformer.h header on Leopard.
// if valueTransformerForName: does not find a registered transformer
instance, it will fall back to looking up a class with the specified
name - if one is found, it will instantiate a transformer with the
default -init method and automatically register it
-Ken
Cocoa Frameworks
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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