• 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 Cocoa Bundles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading Cocoa Bundles


  • Subject: Re: Loading Cocoa Bundles
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sun, 27 Feb 2005 14:08:53 +0100

At 10:39 Uhr -0700 25.02.2005, Chaz McGarvey wrote:
I am trying to dynamically load a bundle (for a plugin architecture) using NSBundle, but it fails to load. Here is the loading code I'm using:

// load plugin
		if ( !bundle ) {
			NSLog( @"no bundle.." );
		}
		if ( ![bundle load] ) {
			NSLog( @"bundle didn't load" );
		}
		_pluginClass = [bundle principalClass];
		// now instantiate, etc.
// end

It *might* help if you showed us how "bundle" is actually created, you know...?

Nobody's here to steal your code (at least not if it's that pointless :-p), so don't be afraid and paste some more.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Loading Cocoa Bundles
      • From: Chaz McGarvey <email@hidden>
References: 
 >Loading Cocoa Bundles (From: Chaz McGarvey <email@hidden>)

  • Prev by Date: Re: Making NSView respond to command+key equivalent
  • Next by Date: Objective-C runtime questions
  • Previous by thread: Loading Cocoa Bundles
  • Next by thread: Re: Loading Cocoa Bundles
  • Index(es):
    • Date
    • Thread