Closed kashifshaikh closed 7 years ago
Realm docs say to define list properties with let:
Please see: https://realm.io/docs/swift/latest/#property-attributes
So the ListTransform does not work as it returns a new list and you can't overwrite the list.
Using a property defined as let is not the intended use of ListTransform. ObjectMapper fundamentally requires the ability to mutate a property (var).
let
ListTransform
var
Realm docs say to define list properties with let:
Please see: https://realm.io/docs/swift/latest/#property-attributes
So the ListTransform does not work as it returns a new list and you can't overwrite the list.