Here's the stack overflow explaining the problem and the answer:
https://stackoverflow.com/questions/67324651/why-do-diffable-datasources-treat-class-and-struct-types-differently
Need to inherit from NSObject and override isEqual(_ object: Any?) -> Bool and var hash: Int
Post
Replies
Boosts
Views
Activity
This still doesn't work on an Apple Watch. Anyone have an actual solution? Why would it not work on the device but it does on the simulator?
Sorry this is on watchOS 7.0 on Xcode 12 beta which does have NavigationView available so navigationBarItems should be available as well