Is it possible to call generic object constructor using reflection in swift?

后端 未结 0 1687
暗喜
暗喜 2021-02-06 14:52

let\'s say we have a class

class Test: NSObject {
    
    let batman: String
    let spiderman: Int
    let superman: NSObject
    
    init(batman: String, spid         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题