for each loop in Objective-C for accessing NSMutable dictionary

前端 未结 7 535
忘掉有多难
忘掉有多难 2020-11-30 16:45

I am finding some difficulty in accessing mutable dictionary keys and values in Objective-C.

Suppose I have this:

NSMutableDictionary *xyz=[[NSMutabl         


        
7条回答
  •  旧时难觅i
    2020-11-30 17:09

    I suggest you to read the Enumeration: Traversing a Collection’s Elements part of the Collections Programming Guide for Cocoa. There is a sample code for your need.

提交回复
热议问题