Am 03.05.2008 um 05:58 schrieb Michael Ash:
ObjC gets set up simply by linking to it, so that happens without any intervention. Foundation can be used with no additional setup as well. AppKit requires that you initialize it by calling NSApplicationLoad() before using it for anything else. Fortunately the call can be made multiple times without harm, so you don't have to worry about anyone else doing it too.
One more thing to note: If you want to use NSImage, make sure you've created a Cocoa window once. [[[NSWindow alloc] init...] release] is enough. That's probably fixed in Leopard, but I haven't checked yet...
Cheers, -- Uli Kusterer "The Witnesses of TeachText are everywhere..." http://www.zathras.de _______________________________________________ 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]