Open
Description
class TestOne {
struct Item {
let value: String
}
}
class TestTwo {
struct Item {
let value: Int
}
}
dataSource.sections = [Section(items: [TestOne.Item(value: "Hello"), TestTwo.Item(value: 5)])]
This will force a crash because String(describing: type(of: item)
will always return Item
instead of needed TestOne.Item
, TestTwo.Item
. So all Items do have the same identifier and cellDescriptor will fail.
Metadata
Metadata
Assignees
Labels
No labels