The book states:
Xcode, however, returns an error. Has anyone else?
The book states:
Xcode, however, returns an error. Has anyone else?
Yes. In the text it says to leave the BNEmployee class as a subclass of NSObject when you create it, then you have to change the @interface BNREmployee: BNRPerson. When I did this, it didn’t seem to ‘take’. After I went back into the files and saw that it had reverted to @interface BNREmployee : NSObject, a made the change again and it worked fine. Double check your BNREmployee.h to ensure the @interface is correctly making your BNREmployee a child object of BNRPerson.