Re: NSBundle dynamic loading problem
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