glideapps/quicktype

Please generate "final" Swift classes

Open

#1,241 建立於 2019年5月30日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (10,867 star) (968 fork)batch import
Swiftcustomizationgood first issue

描述

All of the generated Swift classes should be "final class" for both performance and clarity:

https://forums.swift.org/t/how-effective-is-final-for-code-optimization/24934

It's easier to remove "final" if you should need to subclass one of the classes, than it is to add "final" to them all :-)

貢獻者指南

Please generate "final" Swift classes · glideapps/quicktype#1241 | Good First Issue