时间:2014-07-17 17:06来源:www.chengxuyuans.com
JSONKit导入工程后编译报错的解决办法报错信息:error: assignment to Objective-C's isa is deprecated in favor of object_setClass()
?
解决办法:
(1)修改JSONKit.m文件第680行,修改为object_setClass(array,_JKArrayClass);
?
(2)修改JSONKit.m文件第931行,修改为object_setClass(dictionary,_JKDictionaryClass);
原文链接:https://www.f2er.com/json/290051.html