#import using angle brackets < > and quote marks ” “

Objective-C has this in common with C/C++; the quoted form is for “local” includes of files (you need to specify the relative path from the current file, e.g. #include "headers/my_header.h"), while the angle-bracket form is for “global” includes — those found somewhere on the include path passed to the compiler (e.g. #include <math.h>).

So to have your own headers use < > not " " you need to pass either the relative or the absolute path for your header directory to the compiler. See “How to add a global include path for Xcode” for info on how to do that in Xcode.

See this MSDN page for more info.

Leave a Comment