On Fri, Oct 24, 2008 at 10:54 AM, Kyle Sluder
<[EMAIL PROTECTED]> wrote:
> On Wed, Oct 22, 2008 at 2:14 PM, David Burnett <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to