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

Launch iPhone simulator without Xcode.

How to Make REST api call in Objective-C.

id vs NSObject