looping through an NSMutableDictionary

前端 未结 6 1046
野趣味
野趣味 2021-01-30 08:02

How do I loop through all objects in a NSMutableDictionary regardless of the keys?

6条回答
  •  遇见更好的自我
    2021-01-30 08:48

    You can use [dict allValues] to get an NSArray of your values. Be aware that it doesn't guarantee any order between calls.

提交回复
热议问题