Simple inheritance that I've done a million times:
@class AGWindowView;
@interface HelperView : AGWindowView
I get this error:
Class "HelperView" defined without specifying a base class.
Well, obviously I am specifying a base class. What is going on here? Is there some way AGWindowView would not allow itself to be subclassed?
You will need to import the file that defines AGWindowView at the top of the file. The compiler will need to know about the whole class, not just that it exists.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With