JSONExport icon indicating copy to clipboard operation
JSONExport copied to clipboard

Swift generated code has some redundant lines

Open fadi-botros opened this issue 6 years ago • 0 comments

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

fadi-botros avatar Sep 21 '18 18:09 fadi-botros