glideapps/quicktype

Please generate "final" Swift classes

Fechada

#1.241 aberto em 30 de mai. de 2019

 (0 comentário) (0 reação) (0 responsável)TypeScript (968 forks)batch import
Swiftcustomizationgood first issue

Métricas do repositório

Stars
 (10.867 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador