'NSDate' may not respond to +dateWithString
NSDate *future = [NSDate dateWithString:@"2010-12-25 00:00:00 -0600"];
I'm getting a warning message: NSDate
may not respond t开发者_如何学Pythono +dateWithString
Any ideas?
NSDate dateFromString is MacOS only, not iOS.
maybe you mean the method in NSDateFormatter?
精彩评论