Post

Replies

Boosts

Views

Activity

let id = UUID() compiler warning
I have model object that conform to Identifiable and Codable. In order to adhere to this conformance I set the id property to a UUID() return. In Swift 5.3 the compiler displays a warning that the id property cannot be decoded. How would I remove this warning if my model does not contain an identifier?
Replies
8
Boosts
0
Views
7.6k
Activity
Jun ’21