
Or you can point it to the build output folder.
#What is an xcode header file code
Again you have multiple options: you can point it to the source code folder where the. You only need to tell the outer Xcode project – probably your app that includes sub-projects for some static libraries – where it can find the necessary headers from the sub-project. If you have followed the Sub-Projects guide you are already perfectly set up to get to the header while still keeping the project self-contained and independent from the file system layout. But this approach would also make your project dependent on your folder structure. A variation of this theme would be to not add the file itself, but just a reference.
#What is an xcode header file update
But you should generally refrain from duplicating your code for convenience, because then you have to perform an update on every copy of the file. The easiest way to get the headers into your project is to just add them. Paths are usually relative paths because everybody has a different folder structure on his hard disk. The one with the double quotes for accessing your own classes. You have probably used both already, the one with the angle brackets for including headers that Apple provided.

It is the linker then that resolves these references. In short: If you want to use something which is implemented outside the current. Header files do not actually contain executable code, but instead they tell the compiler which names and functions it should accept.
