• 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: Bundle loading question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bundle loading question


  • Subject: Re: Bundle loading question
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 28 Jun 2004 13:43:24 -0600

On Jun 28, 2004, at 9:59 AM, Darrin Cardani wrote:

if ([gPluginBundle loadNibFile:@"nibfilename" externalNameTable:nameTable withZone:nil]) {
// Do stuff here
}
[...]
Are there threading issues I need to be aware of when loading nibs?

Try loading that nib in the main thread using the -performSelectorOnMainThread:withObject:waitUntilDone: method... Not everything in the AppKit is thread-safe, and this is probably one of those things.

Nick Zitzmann
<http://www.chronosnet.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.


References: 
 >Bundle loading question (From: Darrin Cardani <email@hidden>)

  • Prev by Date: Suppressing NSDocument's "unsaved changes" alert
  • Next by Date: Accessing Audio CD info from CD-ROM
  • Previous by thread: Bundle loading question
  • Next by thread: Overlay window & keydown
  • Index(es):
    • Date
    • Thread