Open xwppoppin opened 2 years ago
override func decode(with data: Data!) { let json = .... JSONDeserializer.update(object: self, from: json) }
如何在模型内部进行update,报错Cannot pass immutable value as inout argument: 'self' is immutable
override func decode(with data: Data!) { let json = .... JSONDeserializer.update(object: self, from: json) }
如何在模型内部进行update,报错Cannot pass immutable value as inout argument: 'self' is immutable