JSONKit
JSONKit copied to clipboard
Fixed Depreacted property Assignment
objects->isa has been deprecated to favour object_setClass(id object, Class class)
#pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-objc-isa-usage" array->isa = _JKArrayClass; #pragma clang diagnostic pop
fixes any warning
@hdacosta awesome!
@hdacosta What is reasoning behind siliencing the warning over using object_setClass()?
@mdewolfe everything works fine even if new Xcode version complains, I don't want to :
- test each project where i use JSONKit to check if everything goes fine after object_setClass()
- loose cpu cycles, which is the reason why i use JSONKit over NSJSONSerialization for example. My current application parses json files that weights 600K-1M
@hdacosta Cool. Was just wondering.