• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Loading a .nib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading a .nib?


  • Subject: Re: Loading a .nib?
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 3 May 2008 13:01:00 +0200

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 (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


References: 
 >Loading a .nib? (From: "J. Todd Slack" <email@hidden>)
 >Re: Loading a .nib? (From: Graham Cox <email@hidden>)
 >Re: Loading a .nib? (From: Graham Cox <email@hidden>)
 >Re: Loading a .nib? (From: "Michael Ash" <email@hidden>)
 >Re: Loading a .nib? (From: Graham Cox <email@hidden>)
 >Re: Loading a .nib? (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: Loading a .nib?
  • Next by Date: Re: scriptability of button in interface?
  • Previous by thread: Re: Loading a .nib?
  • Next by thread: Re: Loading a .nib?
  • Index(es):
    • Date
    • Thread