Getting array elements with valueForKeyPath

前端 未结 4 1107
眼角桃花
眼角桃花 2020-12-03 05:06

Is there any way to access an NSArray element with valueForKeyPath? Google\'s reverse geocoder service, for example, returns a very complex data s

4条回答
  •  渐次进展
    2020-12-03 05:38

    Unfortunately, no. The full documentation for what's allowed using Key-Value Coding is here. There are not, to my knowledge, any operators that allow you to grab a particular array or set object.

提交回复
热议问题