I am trying to synthesize two strings in Objective C so the setter/getter is automatically created.
In my implementation:
#import "Song.h"
@implementation Song
@synthesize song, track;
@end
In my interface:
#import <Foundation/Foundation.h>
@interface Song : NSObject
@property string song, track;
@end
The error I am getting in my interface file is "Unknown type name string".
The error I am getting in my implementation file is "Expected a property name in @synthesize".
I am unsure what to do because I did this for int and it works.