Could someone explain the reasoning why the Class header file HypnosisView.h on page 118 is not directly imported into the HypnosisAppDelegate.h and uses the @class directive instead? And then import the header file in the implementation file.
I read somewhere on the web that it is better to avoid importing other header files into a header file and use the @class directive.
And then the header files are imported into the implementation file.
IMHO, if the header file is imported directly into a header file, you do not need to use the @class directive, and you do not need to import it in the implementation file. Could you please enlighten me on this?