facebookarchive / Shimmer

An easy way to add a simple, shimmering effect to any view in an iOS app.
Other
9.35k stars 1.11k forks source link

-[__NSArrayM objectAtIndex:]: index 3 beyond bounds [0 .. 0] #61

Open hamdshah opened 8 years ago

hamdshah commented 8 years ago

Implemented inside a collection view cell cell.shimmerDataView.contentView = loadingView

Getting the following crash on 'Crashlytics'

0 CoreFoundation 0x27567e3f __exceptionPreprocess 1 libobjc.A.dylib 0x34c15c8b objc_exception_throw 2 CoreFoundation 0x2747cc49 -[__NSArrayM removeObjectAtIndex:] 3 UIKit 0x2ac95a97 _UIViewTopDownSubtreeTraversal 4 UIKit 0x2b02ea35 -[UIView(UIConstraintBasedLayout_EngineDelegate) _invalidateSystemLayoutSizeFittingSizeAtEngineDelegateLevel] 5 UIKit 0x2aac6175 -[UIView(AdditionalLayoutSupport) _setNeedsUpdateConstraintsNeedingLayout:] 6 UIKit 0x2b02d6c1 -[UIView(AdditionalLayoutSupport) _setSubviewWantsAutolayoutTripWantsAutolayout:] 7 UIKit 0x2aa0be23 -[UIView(Internal) _addSubview:positioned:relativeTo:] 8 UIKit 0x2aa0b8d3 -[UIView(Hierarchy) addSubview:] 9 Shimmer 0xda9c3b (Missing)