diff --git a/Source/IGListKit/Internal/IGListSectionMap.m b/Source/IGListKit/Internal/IGListSectionMap.m index 8ed8c1a7..ad94dace 100644 --- a/Source/IGListKit/Internal/IGListSectionMap.m +++ b/Source/IGListKit/Internal/IGListSectionMap.m @@ -95,7 +95,9 @@ } - (NSInteger)sectionForObject:(id)object { - IGParameterAssert(object != nil); + if (object == nil) { + return NSNotFound; + } id sectionController = [self sectionControllerForObject:object]; if (sectionController == nil) {