Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bundle loading question



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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.