This extension is used to solve the problem of NSDateFormatter performance
###explain:
###wechat number :fantastic_fan
###useage
NSDate *date = [NSDate date];
NSString *resultStr = [date stringWithCStyleFormatter:@"%G - %m - %d %H:%M:%S"];
This extension is used to solve the problem of NSDateFormatter performance
Objective-C