我正在维护一个NSMutableDictionary
包含键和值对的内容。现在我需要对其中的每个值执行一些操作。如何从字典中检索值。
// this is NSMutableDIctionary
NSMutableDictionary *dictobj = [[NSMutableDictionary alloc]init];
// in methodA
-(void)methodA
{
//get the value for each key and peform an operation on it.
}
如何进行?请帮助