阅读背景:

OBJ-C:当key不是字符串时使用valueForKeyPath

来源:互联网 

I have an NSArray which contains NSDictionary objects with keys that are NSNumber objects. I would like to calculate the max value using valueForKeyPath. If I were using strings in the following example, I would use valueForKeyPath:@"@max.OHLCClose". How do I do the same with NSNumber objects as keys?I have an NSArray which contains NSDictionary o




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: