JSONExport
JSONExport copied to clipboard
Swift generated code has some redundant lines
When you generate files using Swift generator, you find both NSCoding
and toDictionary
/fromDictionary
I think it could be more readable and small if the NSCoding
comformance was just delegating to toDictionary
and fromDictionary
Also this approach is more Objective-C than Swift, in Swift we just have Encodable
/Decodable