NSDate *toDate =[[NSDate alloc]initWithString:@"2000-10-10 12:00:00 -0500"];
错误是
No Visible @interface for 'NSDate' declares the selector 'initWithString:'
这是为啥,求大牛解释。