I am currently including my AppDelegate.h
and all my category titles in each My source files MyApp_Prefix.pch
prefix headers, instead of using #import
, are used where they are used. The range of methods and many codes in my code are used in many of my app representatives in the #define
compiler.
Is there a downward trend in this? Is it just that the compilation will take more time?
Source level dependencies by effectively importing the header into each source file means that each source file Probably depends on that, but the dependency is not visible Source level dependence is deceptive. When you are not looking, they can crawl and then it is difficult to disturb them.
OTOH can not be a big issue for small projects.
Even though I personally am not dependent on the second source file, the unnecessary - which means that my header file rarely transfers the other (non-framework) headers. You can generally do this more clearly than C ++, because you always hold the pointer-C object with the pointer, so they need to declare further in the header. TI.
Comments
Post a Comment