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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This means that you need to go to your
AppDelegate.hfile, and add a declaration fortoken. Let’s say it’sNSString*; then you should add the following line to your .h file:Substitute
NSString*for the correct type of yourtokenproperty. More information about properties can be found here.