I'm having trouble with enum visibility in an Objective-C program. I have two header files, and one defines a
Go ahead and use
#import. The only reason people recommend to use
@class when possible is because it makes your code slightly faster to compile. However, there is no issue with
#importing one .h file from another. In fact, you need to do this when extending another class.