• 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
Delayed Framework Loading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Delayed Framework Loading
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: What's wrong with my NSMutableArray?
  • Next by Date: Re: view drawing differences between Tiger and Leopard ?
  • Previous by thread: What's wrong with my NSMutableArray
  • Next by thread: Re: Delayed Framework Loading
  • Index(es):
    • Date
    • Thread