سؤال

For a library that I am including in my iOS project (SSZipArchive), it is required that I use compile flags to compile the files individually in ARC.

This obviously needs to be done for the .m files within the library, but what about .c files? Are they even affected by ARC?

هل كانت مفيدة؟

المحلول

A .c file is plain C, it should contain no Objective-C and therefore nothing affected by ARC which applies to Objective-C(++) code.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top