Until beta 5, creating a NSDiffableDataSourceSnapshot worked for me like this:
let snapshot = NSDiffableDataSourceSnapshot<section, photo="">()
In beta 6 and 7, it crashes when it reaches that point with a "Thread 1: signal SIGABRT" message.
Currently Section and Photo are defined like so:
enum Section {
case main
}
struct Photo: Hashable {
let identifier : String
static func == (lhs: Photo, rhs: Photo) -> Bool {
return lhs.identifier == rhs.identifier
}
}
Any hints on how to resolve this?