glideapps/quicktype

Please generate "final" Swift classes

Open

#1.241 geöffnet am 30. Mai 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (968 Forks)batch import
Swiftcustomizationgood first issue

Repository-Metriken

Stars
 (10.867 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide