Reflect icon indicating copy to clipboard operation
Reflect copied to clipboard

对于项目名为中文不成功

Open HLoveMe opened this issue 9 years ago • 3 comments

对于项目名包含中文 比如 项目名:项目 其中有个类 class Person:Nsobject{} 那么你得到的ClassName:_xTC项目.Person (可能不准确) 这样就不能通过类名得到 AnyClass

HLoveMe avatar Mar 14 '16 03:03 HLoveMe

项目中不止不能使用中文,我在新建项目的时候,提示总是解包失败.最后我才发现我项目名为:Swift-Reflect,项目中出现了横线,然后我重新新建项目SwiftReflect才把问题解决了. 看到你说的不能有中文,我才想到可能是我的项目名有问题

TsuiOS avatar Jun 16 '16 07:06 TsuiOS

objc_getClass(项目名.类名)完美解决

HLoveMe avatar Jun 16 '16 07:06 HLoveMe

中文项目名称可以吗,github?

securitgithub avatar Jun 12 '20 08:06 securitgithub