[英]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.