• 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: bug in NSBundle when using QuickTime ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in NSBundle when using QuickTime ?


  • Subject: Re: bug in NSBundle when using QuickTime ?
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 21 Sep 2001 08:34:21 -0700

On Friday, September 21, 2001, at 08:09 AM, Raphael Sebbe wrote:

I just found out I could not load NIBs from a framework on which my app depends after having used QuickTime to encode some video. The problem seems to be in NSBundle or the underlying library loading stuff, because whenever I ask for the bundle corresponding to a given class, it is messed up :

before using QuickTime encoding:
[NSBundle bundleForClass:[NSArray class]] -> Foundation.framework
[NSBundle bundleForClass:[NSView class]] -> AppKit.framework
[NSBundle bundleForClass:[MyClass class]] -> MyFramework.framework

after using QuickTime
[NSBundle bundleForClass:[NSArray class]] -> Carbon.framework
[NSBundle bundleForClass:[NSView class]] -> Foundation.framework
[NSBundle bundleForClass:[MyClass class]] -> /usr/lib

And as already said, this prevents my app from running correctly since all the nibs in frameworks have not been loaded yet (that's why we use them, right ?).

I believe it somehow related to QuickTime loading its components... Is this a known bug, are there any workarounds ?

No, this problem is not known, at least not in this form. Do you have a test case, or some way that we can reproduce this?

Douglas Davidson


References: 
 >bug in NSBundle when using QuickTime ? (From: Raphael Sebbe <email@hidden>)

  • Prev by Date: bug in NSBundle when using QuickTime ?
  • Next by Date: Re: NSArray behavior changes ?
  • Previous by thread: bug in NSBundle when using QuickTime ?
  • Next by thread: Advice request from newbie
  • Index(es):
    • Date
    • Thread