Header Files Visiblity
ondevDeepA opened this issue · 0 comments
ondevDeepA commented
Need some clarification in public, private and project headers of a static library. I have linked a static library with a Xcode project. In the static library, I have marked all the header files that will be included in the Xcode project as public. I want to clarify what will be the visibility of a header file, lets say HeaderB.h which is included in a public header file, and what will be visibility of a header file HeaderC.h which is included in HeaderB.h. HeaderB.h and HeaderC.h are not meant to be included in the host Xcode project directly. Also, I am not adding the static library as a sub project, instead staticLib.a file is linked with the host Xcode project