I was going through Chapter 8 / Challenge 2 and was running into a problem with ARC.
When I use @class Person in the RMDocument.h file I’m getting an error message from
the ARC “Receiver ‘Person’ for class message is a forward declaration”. Well, I just changed
to #import “Person.h” and it is was working. So in general, when to use @class and when to
use #import ? I’ve also seen that’s is a common practice to add both lines. What
would be your advice ?