[英]JSONRepresentation for NSMutableDictionary
我想在NSMutableDictionary
对象上调用JSONRepresentation
方法。 我用[userDict JSONRepresentation];
调用它[userDict JSONRepresentation];
,但我收到以下警告:
NSMutableDictionary may not responsd to '-JSONRepresentation'
谁能告诉我如何在NSMutableDictionary
类型的对象上正确调用JSONRepresentation
方法?
提前致谢。
JSONRepresentation
方法来自json-framework 。 在项目中包含该框架并导入正确的标题,您应该很高兴。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.