Avatar
omochimetaru 5/27/2017 9:11 AM
class Cat { static var mike: Cat { return Cat() } } class FireCat : Cat { static var garo: Cat { return FireCat() } } class Person { var cat: Cat?????? } let p = Person() p.cat = .mike print(p)
9:11 AM
通った