Comments (3)
I would love to see this option also.
from sspulltorefresh.
Do you mean disable the ability to pull to refresh? You can do that with a delegate method.
If you mean hide it, that would be cool. PRs welcome :)
from sspulltorefresh.
So I recently implemented something like this in Shares:
- (void)setEditing:(BOOL)editing animated:(BOOL)animated {
[super setEditing:editing animated:animated];
self.refreshControl.contentView.hidden = editing;
}
- (BOOL)pullToRefreshViewShouldStartLoading:(SSPullToRefreshView *)view {
return !self.editing;
}
I don't think SSPullToRefresh needs anything else to support stuff like this since it's already super easy.
from sspulltorefresh.
Related Issues (20)
- -pullToRefreshViewDidFinishLoading is called before the animation starts HOT 1
- UITextAlignmentCenter is deprecated in iOS 6.0 HOT 1
- Unrecognized selector on iOS6 HOT 1
- Headers in sections glitch when pull to refresh is loading HOT 2
- Animation glitch upon touch release when state == SSPullToRefreshViewStateReady
- iOS 7 HOT 8
- Load repeat records
- sectionIndexTitles jumps up and down when loading
- pull up to load more control
- How to expand manually HOT 1
- Pull progress > 1.0 is not reported. HOT 3
- PullToRefresh view disappeared in iOS 8 when upgraded version to 1.2.2 HOT 4
- Sending 'Notifications_ViewController *const __strong' to parameter of incompatible type 'id<SSPullToRefreshViewDelegate>' HOT 6
- Swift compat? HOT 1
- You continue to rock, Sam Soffes HOT 1
- initWithScrollView:delegate: should call initWithFrame: on super, not self HOT 2
- Trigger refresh with VoiceOver three-finger scroll gesture HOT 1
- Delegate Callback Behavior
- SSPullToRefresh does not work correctly on ios11 if it's compiled with xCode9 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sspulltorefresh.