I have a class called Caching.h. The below 3 lines of code are given below
#import <Foundation/Foundation.h>
@class ODataEntry;
@class ODataFeed;
I get the error "Unexpected token after Objective-C string at the line
@class ODataEntry

I have added the ODataEntry.h file to the header search path of the project. Is there anything else that must be done for the @Class forward declaration?
Problems elsewhere can cause unexpected errors...
Try checking other files for errors and see if that fixes the problem.
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