diff --git a/Examples/Examples-iOS/IGListKitExamples/SectionControllers/GridSectionController.swift b/Examples/Examples-iOS/IGListKitExamples/SectionControllers/GridSectionController.swift index 8d4f2ac04..30c7101fa 100644 --- a/Examples/Examples-iOS/IGListKitExamples/SectionControllers/GridSectionController.swift +++ b/Examples/Examples-iOS/IGListKitExamples/SectionControllers/GridSectionController.swift @@ -27,6 +27,18 @@ class GridItem: NSObject { } +extension GridItem: IGListDiffable { + + func diffIdentifier() -> NSObjectProtocol { + return self + } + + func isEqual(toDiffableObject object: IGListDiffable?) -> Bool { + return self === object ? true : self.isEqual(object) + } + +} + final class GridSectionController: IGListSectionController, IGListSectionType { var object: GridItem?