access objective-c object by string name or variable

前端 未结 3 1115
北荒
北荒 2020-12-12 03:08

i have been looking around and haven\'t quite found anything on doing this and am not sure if its even possible, but this is what i am trying to achieve. please note, i am g

3条回答
  •  [愿得一人]
    2020-12-12 03:37

    If the case is simply indexed strings, you should probably use an array, otherwise you are looking for introspection (take a look at this question).

提交回复
热议问题