在目标C中,有什么更好的方法:
if ([response class] == [nil class])
Run Code Online (Sandbox Code Playgroud)
response是NSDictionary或NSMutableDictionary
代码正在运行,但我收到了"Invalid receiver type 'void *' or "comparison of distinct Objective-C types 'Class' and 'struct NSMutableDictionary *' lacks a cast"警告消息
谢谢
objective-c ×1