• 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 nib in a dynamically loaded bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Loading nib in a dynamically loaded bundle
      • From: "Anthony Cheung" <email@hidden>
References: 
 >Loading nib in a dynamically loaded bundle (From: "Anthony Cheung" <email@hidden>)

  • Prev by Date: Re: Getting rid of "hidden" fonts
  • Next by Date: Re: Memory Management
  • Previous by thread: Loading nib in a dynamically loaded bundle
  • Next by thread: Re: Loading nib in a dynamically loaded bundle
  • Index(es):
    • Date
    • Thread