Can I do NSVariableFromString like NSClassFromString and NSSelectorFromString?

前端 未结 3 727
死守一世寂寞
死守一世寂寞 2021-01-16 12:25

Right so I have noticed that you can do NSClassFromString and NSSelectorFromString.

Is it possible to do something like NSVariableFromString?

3条回答
  •  余生分开走
    2021-01-16 13:21

    No. Compiled applications don't contain variable names except when debug info is included and it usually isn't for release applications.

提交回复
热议问题