I’m trying to create a NSDate object, and keep getting a error that says “unexpceted @ in program.
The line is
NSDate *endDate=[ [NSDate alloc] dateWithNaturalLanguageString: @“31/12/01” ];
any help would be great!
I’m trying to create a NSDate object, and keep getting a error that says
Share
Try
[NSDate dateWithNaturalLanguageString: @"31/12/01" ]dateWithNaturalLanguageString:is a class method not an instance method (so don’t call alloc).