Re: When do NSImageRep subclasses register themselves?
Re: When do NSImageRep subclasses register themselves?
- Subject: Re: When do NSImageRep subclasses register themselves?
- From: Chaz McGarvey <email@hidden>
- Date: Thu, 1 Apr 2004 07:20:42 -0700
On Apr 1, 2004, at 6:09 AM, Ondra Cada wrote:
Chaz,
On Thursday, Apr 1, 2004, at 09:19 Europe/Prague, Chaz McGarvey wrote:
It can't be in load because there is no guarantee that the NSImageRep
class will be loaded before its subclasses.
Actually it can (and should) be in load, for AppKit is guaranteed to
be loaded before your bundles/framewors which use it (so that they can
define®ister NSImageRep subclasses).
Oops! I should have mentioned that I'm interested in knowing where
'official' subclasses like NSBitmapImageRep register themselves.
Because they are in the same framework as NSImageRep, it seems like
it's possible that NSImageRep might not be loaded before a subclass is.
Thanks,
Chaz McGarvey
http://www.brokenzipper.com
_______________________________________________
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.