> It would be a bad
> idea to make any AppKit calls before NSApplicationMain, for example.

Not too hard to avoid that in the -init method ;-)

> This also makes it difficult to use the Debug class in a framework/
> library.

Yes, use from framework/library is the primary motivator for using a
singleton pattern.

-- 
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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 arch...@mail-archive.com

Reply via email to