coolbeet / cbstorehouserefreshcontrol Goto Github PK
View Code? Open in Web Editor NEWFully customizable pull-to-refresh control inspired by Storehouse iOS app
License: MIT License
Fully customizable pull-to-refresh control inspired by Storehouse iOS app
License: MIT License
After the animation is complete, the scrollView (in my case UITableView specifically) is remaining offset by about the height of the storeHouse image...
Anyone else having this issue?
Followed demo to the letter.
This is probably the coolest iOS accessory I've seen in ages and would be upset if I couldn't make use of it!!!
In this way, we needn't write it one point by one point.
In line 114, the function ignores the color parameter, with a hardcoded [UIColor whiteColor].
There're scenarios where you really need to know if the refresh control is currently refreshing. Thus, making 'state' a public property or even adding a new property (e.g. isRefreshing) would be useful.
Is it possible to add to plist UIBezierPath like this?
[bezierPath addCurveToPoint: CGPointMake(83, 18) controlPoint1: CGPointMake(117, 33.22) controlPoint2: CGPointMake(101.78, 18)];
If not it would be a nice to have feature :)
both pullup and pulldown
any easy way to write text,
i try paint code , but ididnt know how to get the text position of it,
any help
thanks
The loading view is interactive and good. Please provide the swift version so that it is compatible for it.
when i set the UITableViewController's navigationBar.translucent to no,the refresh logo doesn't work fine
Hello,
After triying this, it seems that it does not support when the navigation controller it set to hidden. Would love to try this but only will work form me if you could add this feature.
(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:YES];
[self.navigationController setNavigationBarHidden:YES animated:YES];
}
can you please add a pod version for it
Im trying to change the color:
self.storeHouseRefreshControl = [CBStoreHouseRefreshControl attachToScrollView:self.tableView target:self refreshAction:@selector(refreshTriggered:) plist:@"storehouse" color:[UIColor blackColor] lineWidth:1.5 dropHeight:80 scale:1 horizontalRandomness:150 reverseLoadingAnimation:YES internalAnimationFactor:0.5];
When I change the color nothing happens. Is this possible?
Amazing work!!!
Is it possible to implement this as a UIRefreshControl for a UIWebView without the use of any UIScrollView or a subset? If not exactly this, would you know of something else with similar functionality and visuals that can be used as a UIRefreshControl for a UIWebView?
I used pod to get this refrehcontrol, however when i ask the function
self.storeHouseRefreshControl = [CBStoreHouseRefreshControl attachToScrollView:self.waterfallView
target:self
refreshAction:@selector(pullToRefreshTriggered:)
plist:@"storehouse"
color:[UIColor redColor]
lineWidth:1
dropHeight:70
scale:1
horizontalRandomness:150
reverseLoadingAnimation:YES
internalAnimationFactor:0.1];
the bar color is still in white, which makes me confuse.
after half an hour's debug i decided to look for source code and then i found that in the file CBStoreHouseRefreshControl.m, line 114, the color which i ask was not set properly, but used [UIColor whitecolor] instead!
I hope you can revise this one and, besides that, better remove all the warning :D
CBStoreHouseRefreshControl support add to Footer?
Please any idea.
When I'm using your animated refresh object in the MasterViewController of an split view controller it is only centered in the complete screen, but not in the seperate part for the MasterViewController on the left.
In the initializator method - attachToScrollView the color is being passed as a param but later it is not used.
Instead a white color is harcoded:
BarItem *barItem = [[BarItem alloc] initWithFrame:refreshControl.frame startPoint:startPoint endPoint:endPoint color:[UIColor whiteColor] lineWidth:lineWidth];
while this should be:
BarItem *barItem = [[BarItem alloc] initWithFrame:refreshControl.frame startPoint:startPoint endPoint:endPoint color:color lineWidth:lineWidth];
Jack
Hi, thanks for sharing :)
how do you make points for text? I mean text has spaces, should I use more then one start/end point?
one for each letter?
prefer to observe scrollview contentOffset
Hey, I got an error when i make [self.storeHouseRefreshControl finishedLoading], but i got no error when change finishedLoading to finishingLoading. Why I got this error?
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.