All Downloads are FREE. Search and download functionalities are using the official Maven repository.

objc.JSONValueTransformer+ISO8601-body.mustache Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
#import 
#import "JSONValueTransformer+ISO8601.h"
#import "{{classPrefix}}Sanitizer.h"

@implementation JSONValueTransformer (ISO8601)

- (NSDate *) NSDateFromNSString:(NSString *)string
{
    return [NSDate dateWithISO8601String:string];
}

- (NSString *)JSONObjectFromNSDate:(NSDate *)date
{
    return [{{classPrefix}}Sanitizer dateToString:date];
}

@end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy