How can I convert an NSDictionary to an NSMutableDictionary?

后端 未结 4 1010

I have an existing NSDictionary that has:

{
    \"charts_count\" = 2;
    \"created_at\" = \"2010-04-12T16:37:32Z\";
    exchange = NASDAQ;
    \"followers_c         


        
4条回答
  •  时光说笑
    2020-12-14 06:17

    In case of Swift

    var tempDic: NSMutableDictionary = yourDictionary.mutableCopy() as NSMutableDictionary
    

提交回复
热议问题