• 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: NSBundle dynamic loading problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBundle dynamic loading problem


  • Subject: Re: NSBundle dynamic loading problem
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 19 Dec 2005 22:35:59 +0100

Am 19.12.2005 um 22:03 schrieb Josh Ferguson:
I know that the OS isn't returning a cached pointer for the Bundle, as I
get the appropriate version from the bundle.

That doesn't have any significance. NSBundle may have loaded the code, but not yet the version number. Since you just replaced the old framework's files, all files that weren't open or cached before will be picked up from the new version (e.g. the Info.plist). Your framework is in an inconsistent state.

If you want to test something similar, launch an application, then delete it. It will keep running, but will perform worse and worse and fail with error messages because whenever it closes a file it actually is deleted, but until then it's still available.

Cheers,
-- M. Uli Kusterer
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
References: 
 >RE: NSBundle dynamic loading problem (From: "Josh Ferguson" <email@hidden>)

  • Prev by Date: Re: Moire X v2.0 released, feedback would be appreciated
  • Next by Date: Re: Adding password for a file to keychain
  • Previous by thread: Re: NSBundle dynamic loading problem
  • Next by thread: RE: NSBundle dynamic loading problem
  • Index(es):
    • Date
    • Thread