摘要: //AnyObject 代表任何class类型的对象实例 let man = Man.init() let woman = Woman.init() let arr:[AnyObject] = [man,woman] for people in arr { if let m = people as? Man{... 阅读全文
posted @ 2018-08-16 10:25 心泪无恒 阅读(1226) 评论(0) 推荐(0) 编辑