mukyasa / MMPaper

MMPaper [Inspired From Paper by Facebook, Approach to simulate Paper app
396 stars 45 forks source link

Crash #5

Open lonllua opened 9 years ago

lonllua commented 9 years ago

Hello! thank you for the code!

I transition the large layout to small, then tap the small layout rapidly, it's crashed.

MMPaper[31941:929988] -[MMLargeLayout setTransitionProgress:]: unrecognized selector sent to instance 0x7fc18963dfa0 MMPaper[31941:929988] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MMLargeLayout setTransitionProgress:]: unrecognized selector sent to instance 0x7fc18963dfa0' * First throw call stack: ( 0 CoreFoundation 0x00000001084a7c65 exceptionPreprocess + 165 1 libobjc.A.dylib 0x0000000108080bb7 objc_exception_throw + 45 2 CoreFoundation 0x00000001084af0ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205 3 CoreFoundation 0x000000010840513c __forwarding + 988 4 CoreFoundation 0x0000000108404cd8 _CF_forwarding_prep_0 + 120 5 UIKit 0x0000000106f3739c -[UICollectionView _updateTransitionWithProgress:] + 82 6 UIKit 0x0000000106f37da2 __76-[UICollectionView _finishInteractiveTransitionShouldFinish:finalAnimation:]_block_invoke + 94 7 UIKit 0x0000000106ea9e45 -[_UIDynamicAnimation _callAppliers:additionalEndAppliers:done:] + 95 8 UIKit 0x0000000106eac806 -[_UIDynamicAnimationGroup _animateForInterval:] + 520 9 UIKit 0x0000000106ea9033 +[_UIDynamicAnimation _updateAnimations:timer:] + 755 10 Foundation 0x0000000107c33744 NSFireTimer + 83 11 CoreFoundation 0x000000010840f174 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20 12 CoreFoundation 0x000000010840ed35 CFRunLoopDoTimer + 1045 13 CoreFoundation 0x00000001083d0d3d __CFRunLoopRun + 1901 14 CoreFoundation 0x00000001083d0366 CFRunLoopRunSpecific + 470 15 GraphicsServices 0x000000010abf3a3e GSEventRunModal + 161 16 UIKit 0x000000010690e900 UIApplicationMain + 1282 17 MMPaper 0x00000001065be06f main + 111 18 libdyld.dylib 0x0000000108f26145 start + 1 19 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException

mukyasa commented 9 years ago

Give me some time ,i will resolve this issue