It would be useful if in the swift template there were some opt in options that would generate the following for Swift model classes:
initializers in subclasses that took the superclass plus all of the subclasses properties
a copy() function that initialized a new instance of a class with all the same properties. Perhaps this function could also have optional parameters for all the properties to be able to modify them. This would be useful if the properties have been chosen to be constants via the mutableModels: false option
It would be useful if in the swift template there were some opt in options that would generate the following for Swift model classes:
copy()
function that initialized a new instance of a class with all the same properties. Perhaps this function could also have optional parameters for all the properties to be able to modify them. This would be useful if the properties have been chosen to be constants via themutableModels: false
option