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