It is to my understanding that one should use a forward-class declaration in the event ClassA needs to include a ClassB header, and ClassB needs to include a ClassA header t
Three simple rules:
#import the super class, and adopted protocols, in header files (.h files).#import all classes, and protocols, you send messages to in implementation (.m files).If you do forward declaration in the implementation files, then you probably do something wrong.