let name: AnyClass! = object_getClass(obj)
let className = NSStringFromClass(name)
本文标题:swift 3.0获取对象类名
本文链接:https://www.haomeiwen.com/subject/rewxgttx.html
网友评论