ObjectMapper-Plugin
ObjectMapper-Plugin copied to clipboard
a xcode plug-in for generating mapping
1. replace pod with SPM 2. adapt xcode13 3. fix compile error
…r than pods Also converted code to use swift 5
'UTF16Index' is not a member type of 'String'
Hi, Thanks for developing this plugin. I don't have a Mac developer a/c and I'm not able to build this project on my Xcode. How can I install this plugin...
How to find this plugin?  Fyi, it is working when xcode 9.
`import Cocoa import ObjectMapper class TestOb: NSObject , Mappable { var testVar:String? var testSS:Int? required init?(map: Map) { } func mapping(map: Map) { } } ` I run the plugin,...
According to the documentation: https://github.com/Hearst-DD/ObjectMapper#immutablemappable-protocol-beta The syntax should be `>>>` instead of `>> map["id"] name >>> map["name"] } ```
According to the documentation of the `ObjectMapper` (https://github.com/Hearst-DD/ObjectMapper), and my own findings, optional properties should be parsed from JSON -> Model with `try?` instead of just `try`, else the whole...