Problem: The crash caused by using a decorator view for sections with the library.
Route cause: cachedDecorationAttributes was using [NSIndexPath indexPathForItem:0 inSection:sectionIndex]as key when inserting into cache and [NSString stringWithFormat:@"%@-%zd-%d", decorationItem.elementKind, sectionIndex, 0] when retriving attributes from cache
Problem: The crash caused by using a decorator view for sections with the library.
Route cause: cachedDecorationAttributes was using
[NSIndexPath indexPathForItem:0 inSection:sectionIndex]
as key when inserting into cache and[NSString stringWithFormat:@"%@-%zd-%d", decorationItem.elementKind, sectionIndex, 0]
when retriving attributes from cache