Re: Loading nib in a dynamically loaded bundle
Re: Loading nib in a dynamically loaded bundle
- Subject: Re: Loading nib in a dynamically loaded bundle
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 28 Jul 2003 13:08:18 +0200
At 18:14 Uhr +0800 28.07.2003, Anthony Cheung wrote:
bundleRef = CFBundleGetMainBundle();
err = CreateNibReferenceWithCFBundle(bundleRef, CFSTR("test"), &nibRef);
the nib file is called "test.nib". Please advise if I have anything wrong.
The main bundle is probably the application's bundle for a plugin.
You have to create a CFBundleRef to your plugin's bundle, since
that's where (I suppose) the test.nib is.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.