Delayed Framework Loading
Delayed Framework Loading
- Subject: Delayed Framework Loading
- From: Dong Feng <email@hidden>
- Date: Fri, 12 Jun 2009 23:23:51 +0800
Is there a way to make a framework not loaded until the first
invocation to one of its functions?
I know there is a way, that is, to not link the framework to the
executable, but use CFURLCreateWithFileSystemPath(). However, this
way, you have to resolve all functions you are going to use one by one
programmatically.
In Visual C++ there is a compilation flag, /DELAYLOAD, to enable the
delay load but still make all function resolving through .lib. Is
there a similar thing in Xcode?
Thank you.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden