class Cat { lazy var name: Int = 1 } class Dog { weak var name: AnyObject? } print(Mirror(reflecting: Cat()).children.first!) print(Mirror(reflecting: Dog()).children.first!)