I got confused a bit about importing in Objective-C, thus I wanna make sure about something:
I have A.h and A.m, B.h and B.m, I currently added #import "B.h"
in A.m, and #import "A.h"
in B.h, It's working, no warning or error, but would this create any problem?
Reason I cant use @class
is because I declare a protocol and an enum in A.h, and use it B.h, @class
cannot catch that
Thanks for helping.