AllAroundPullView
AllAroundPullView copied to clipboard
Xcode 6.1 crash log about KVO
Hi,man.Recently,i download your refreshView Code from a recommended website. Hm,i am like it.But it has a little defect.
here is the crash log,hope these things are helpful for you .
Best regards!
2014-10-27 19:43:52.525 AAPullToRefreshDemo[44859:1455223] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason: 'An instance 0x78f663e0 of class UIScrollView was deallocated while key value observers were still registered with it.
*** First throw call stack:
(
0 CoreFoundation 0x01cc5946 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x0194ea97 objc_exception_throw + 44
2 CoreFoundation 0x01cc586d +[NSException raise:format:] + 141
3 Foundation 0x0157f6d4 NSKVODeallocate + 379
4 UIKit 0x0038f59b -[UIView release] + 89
5 libobjc.A.dylib 0x01962eb1 objc_release + 65
6 libobjc.A.dylib 0x01963d32 _ZN12_GLOBAL__N_119AutoreleasePoolPage3popEPv + 586
7 CoreFoundation 0x01ba7678 _CFAutoreleasePoolPop + 24
8 CoreFoundation 0x01bde76e __CFRunLoopRun + 2270
9 CoreFoundation 0x01bddbcb CFRunLoopRunSpecific + 443
10 CoreFoundation 0x01bdd9fb CFRunLoopRunInMode + 123
11 GraphicsServices 0x0435c24f GSEventRunModal + 192
12 GraphicsServices 0x0435c08c GSEventRun + 104
13 UIKit 0x003258b6 UIApplicationMain + 1526
14 AAPullToRefreshDemo 0x00076a0d main + 141
15 libdyld.dylib 0x024dbac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
oh ,i am sorry that this bug is belong to AAPullToRefresh.And i solve it and push a comment About it.
Okey, feel free to pull request.