Question about declaring the superclass and using #import


In the following code, why is it necessary to both import Person.h and declare Person as the superclass of Employee? Why doesn’t the compiler look at something like “@interface Employee : Person” and automatically import the header file for Person?

#import "Person.h"

@interface Employee : Person


I don’t want to seem glib, but the true answer is “It just doesn’t work that way.”