• 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: When does iOS load "Modern Frameworks" (dylibs)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When does iOS load "Modern Frameworks" (dylibs)?


  • Subject: Re: When does iOS load "Modern Frameworks" (dylibs)?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 22 Feb 2016 09:47:25 -0800


On Feb 21, 2016, at 1:14 PM, David Hoerl <email@hidden> wrote:

I have a rather large framework that does something very specific, many (or most) users will have no interest in using it. What I'd like to do is not have to statically link it into my app, either via a static library or a dynamic one that always loads at launch.

If the framework is properly written it will do pretty much nothing at load time. The only overhead of loading it will be from the dynamic library loader (dyld) mapping the file and resolving its symbols, which is probably minimal.

As with a lot of other optimizations, it’s best to actually measure what the overhead is, before putting energy into trying to reduce it.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >When does iOS load "Modern Frameworks" (dylibs)? (From: David Hoerl <email@hidden>)

  • Prev by Date: Re: git invalid developer path
  • Next by Date: Re: git invalid developer path
  • Previous by thread: Re: When does iOS load "Modern Frameworks" (dylibs)?
  • Next by thread: Xcode and distribution certificates
  • Index(es):
    • Date
    • Thread