IOS static libraries and dynamic libraries

Source: Internet
Author: User
The library is essentially an executable binary format in the city, which can be loaded into memory to perform a static library in IOS with the. A and. Framework two forms; The dynamic library has the. Dylib and. Framework two, later. Dylib was replaced by Apple. TBD Form Static Library and dynamic library The difference between static and dynamic libraries is relative to the compilation period and the runtime, the static library will be connected to the code during the compilation period, the program run time will no longer need to change the static library, and Dynamic libraries are not connected to the code during compilation, and are loaded only during the run of the program, so the existence of a dynamic library is also required during program run time. Summing up the same static library in different programs to use, each program needs to be imported once, packaging is also packaged into a program, and the dynamic library in different programs, packaging is not packaged in, only when the program is running when you are connected to the load, such as the system framework (UIKit, Foundation, etc.) so the volume will be much smaller, but Apple does not allow the use of its own dynamic library, otherwise the audit will not pass

IOS static libraries and dynamic libraries

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.