JSONKIT : format specifies type 'unsigned long' but the argument has type 'nsuinteger' (aka 'unsigned int')
Direct access to objective-c's isa is deprecated in favor of object_setClass() and object_getClass()
object->isa 替换为 object_getClass(object) 10处左右
keyObject->isa 替换为 object_getClass(keyObject) 一处
(id)keys[idx]->isa 替换为 object_getClass((id)keys[idx]) 一处
format specifies type 'unsigned long' but the argument has type 'nsuinteger' (aka 'unsigned int')
给变量增加(unsigned long)进行类型转换
//// 原来的,但是警告:Using 'stringWithString:' with a literal is redundant ////[self appendUTF8Body:body dataString:[NSString stringWithString:@"Content-Type: image/png\r\nContent-Transfer-Encoding: binary\r\n\r\n"]]; //解决: NSString *string = @"Content-Type: image/png\r\nContent-Transfer-Encoding: binary\r\n\r\n"; [self appendUTF8Body:body dataString:string];