What does -ObjC and -all_load mean?

The -ObjC Linker Flag

(https://developer.apple.com/library/mac/qa/qa1490/_index.html)

Passing the -ObjC option to the linker causes it to load all members of static libraries that implement any Objective-C class or category.

-all_Load Linker Flag

(http://stackoverflow.com/questions/2906147/what-does-the-all-load-linker-flag-do)

-all_load forces the linker to load all object files from every archive it sees, even those without Objective-C code.

Comments

Post a Comment

Popular posts from this blog

Hacker Rank problem solution

How to Make REST api call in Objective-C.

Building and Running Python Scripts with Xcode