r-plus / allaroundpullview Goto Github PK
View Code? Open in Web Editor NEWPull-To-Refresh for 4 direction.
License: Other
Pull-To-Refresh for 4 direction.
License: Other
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
Interesting project! I love the 4-directions idea.
Will it be ARC-compatible?
Hi, thank you for your work. I'm trying to use your project.But i found something wrong with it, I am not sure the reason. when I use the PunchScrollView to init it. In the vertical, I pulled down the scroll, the it scroll to the last page(Page 2 in section 2). And then, I dragged it down fast. The problem appear, it scrolled to the first page. Looks like the property of pagingenabled disable.
Like the dome show:
https://github.com/HubOkay/PunchCellViewWithAllAroundPullView
Forgive my poor English! I hope I described it clearly.
Hi, I use your code in my app, it is really simple to integrate and use, great job man, but I have a problem. I add it in viewController A and I push this controller to navigation stack. But when I popViewController, my app don't call dealloc method.
If I remove your code:
AllAroundPullView *leftPullView = [[AllAroundPullView alloc] initWithScrollView:self.scrollView position:AllAroundPullViewPositionLeft action:^(AllAroundPullView *view){
//...
[self.navigationController popViewControllerAnimated:YES];
}];
[self.scrollView addSubview:leftPullView];
[leftPullView release];
it call dealloc normally when I popViewController. How can I resolve it?
What I have to add in code to my app can call dealloc when I popViewController?
Thanks,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.