diff --git a/Source/IGListAdapter.m b/Source/IGListAdapter.m index 56905c52..84f0a545 100644 --- a/Source/IGListAdapter.m +++ b/Source/IGListAdapter.m @@ -529,6 +529,11 @@ } [sectionControllers addObject:sectionController]; + +#if DEBUG + IGAssert([NSSet setWithArray:sectionControllers].count == sectionControllers.count, + @"Section controllers array is not filled with unique objects; section controllers are being reused"); +#endif [validObjects addObject:object]; }