glideapps/quicktype

Please generate "final" Swift classes

Open

#1,241 创建于 2019年5月30日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)TypeScript (968 fork)batch import
Swiftcustomizationgood first issue

仓库指标

Star
 (10,867 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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 :-)

贡献者指南