JSONKIT isa error solution

When developing iOS , many third-party libraries use the JSONKIT library. If compiled in versions above IOS6.0, a Semantic Issue error will be displayed.

错误显示:direct access to Objective-C's isa is deprecated in favor of object_getClass()

According to the data, the deprecated function array->isa is used. Most of the data found on the Internet say that object_getClass and object_setClass should be used for correction.

Seeing that the Demo in Bee did not change this function, it took a long time to finally understand that if IOS does not report this error

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326355199&siteId=291194637