获取对象类型(swift)
by 伍雪颖
let
date =
NSDate
()
let name = date. dynamicType
println (name)
let string = "Hello"
let name1 = string. dynamicType
let name = date. dynamicType
println (name)
let string = "Hello"
let name1 = string. dynamicType
println
(name1)