Friday, June 1, 2012

Objective C: #import vs @class

#import: import the headers
@class: tell the compiler to trust that the class exists in the header and will be imported by the implementation (*.m) file

Reference: http://stackoverflow.com/questions/322597/class-vs-import

No comments:

Post a Comment