I receive this error
Property implementation must have its declaration in interface "AppDelegate"
When I declare
@implementation AppDelegate
@synthesize window, viewController;
@synthesize token;
I'm using Xcode 4.4.
This means that you need to go to your AppDelegate.h
file, and add a declaration for token
. Let's say it's NSString*
; then you should add the following line to your .h file:
@property (nonatomic, readwrite) NSString *token;
Substitute NSString*
for the correct type of your token
property. More information about properties can be found here.