models
combine
models
@diegolavalledev Jan 5, 2020
Complying to the Codable
protocol is simple thanks to synthesized initializers and coding keys. Similarly making your class observable using the Combine framework is trivial with ObservableObject
. But attempting to merge these two protocols in a single implementation poses a few obstables. Let’s find out!