我是
Swift的新手,刚刚在文档中看到:
原文链接:/swift/318959.htmlComputed properties are provided by classes,structures,and
enumerations. Stored properties are provided only by classes and
structures.
这是为什么?为枚举工作的关联值如存储的属性?似乎他们最初已经存储了物业 – Why no stored type properties for classes in swift?