Possible Duplicate:
What is the difference between #import and #include in Objective-C?
It seems both can work when I use import or include in Objective-C, what's the difference between those two?
Possible Duplicate:
What is the difference between #import and #include in Objective-C?
It seems both can work when I use import or include in Objective-C, what's the difference between those two?
..#include and #import request that the preprocessor read a file and add it to its output. The difference between #include and #import is that
C programmers tend to use #include. Objective-C programmers tend to user #import.
Compiling a file in Objective-C is done in two passes. First, the preprocessor runs through the file. The output from the preprocessor goes into the real compiler. Preprocessor directives start with #. The three most popular are
-#include
-#import
-#define