I am a beginner in objective C and I am using the following code I am using xcode6
// Car.h
#import <Foundation/Foundation.h>
@interface Car : NSObject {
    NSString *simple_name;  //This is private
    @property int mssp;     //Cant use @property Error illegal visibility specification
}
-(void) sayHi:(NSString*)msg ;
@end
Any suggestions on why I am getting this error ?
 
    