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

[NSBundle load]


  • Subject: [NSBundle load]
  • From: "jgrosjean " <email@hidden>
  • Date: Tue, 28 Aug 2001 12:52:38 -0400

I'm wondering if its possible to load the classes of an .app using [NSBundle load]. My program looks something like this:

// this successfully creates a bundle.
NSBundle *bundle = [NSBundle bundleWithPath:myApplicationBundlePath];

// but this fails to load the application classes. using 'po' in GDB
// displays (bundle not yet loaded).
[bundle load];

// this successfully creates a bundle.
NSBundle *bundle = [NSBundle bundleWithPath:myFrameworkBundlePath];

// this successfully loads the bundle.
[bundle load];

I'm wondering why I cant load the classes in the .app bundle, but can successfully load the classes in the .framework bundle using the same code.

Thanks for any help,
Jesse


  • Prev by Date: Re: Cocoa and MySql
  • Next by Date: Re: SCM?
  • Previous by thread: Re: NSTableView Selection and Flicking
  • Next by thread: Re: SCM?
  • Index(es):
    • Date
    • Thread