JSONExport is a desktop application for Mac OS X which enables you to export JSON objects as model classes with their associated constructors, utility methods, setters and getters in your favorite language.
Other
4.8k
stars
794
forks
source link
Swift generated code has some redundant lines #122
When you generate files using Swift generator, you find both
NSCoding
andtoDictionary
/fromDictionary
I think it could be more readable and small if the
NSCoding
comformance was just delegating totoDictionary
andfromDictionary
Also this approach is more Objective-C than Swift, in Swift we just have
Encodable
/Decodable