glideapps/quicktype

Please generate "final" Swift classes

クローズ

#1,241 opened on 2019/05/30

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (968 件のフォーク)batch import
Swiftcustomizationgood first issue

Repository metrics

Stars
 (10,867 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド