btlibrary / btglassscrollview Goto Github PK
View Code? Open in Web Editor NEWInspired by Yahoo Weather App, this easy to use view replicates the look and feel
Inspired by Yahoo Weather App, this easy to use view replicates the look and feel
Hi. Thank you so much for this control.
I have a question.
My foregroundView's heigh is variable. Sometime is 500 px, sometimes 900 px.
How do I set the scroll?
Sometimes it does not fit on the screen.
That my code below. What's wrong?
MyVC * content = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"MyVC"];
content.view.backgroundColor =[UIColor clearColor];
content.view.opaque = NO;
[content prepareUI:self];
CGRect aFrame = CGRectMake(0, 0, content.view.frame.size.width, content.view.frame.size.height);
UIImage * aImage = [Genel getImage:[aMy.id stringValue]];
_glassScrollView = [[BTGlassScrollView alloc] initWithFrame:aFrame BackgroundImage:aImage blurredImage:nil viewDistanceFromBottom:120 foregroundView:content.view];
// aFrame = _glassScrollView.frame;
#warning THE FOLLOWING LINE SETS THE FRAME HEIGHT.
// aFrame.size.height = [content frameHeight];
// _glassScrollView.frame = aFrame;
[self.view addSubview:_glassScrollView];
Hi, this sample is great! I'd like to leverage it in terms of the blur effect at navigation bar bottom when scrolling up. I studied your sample, but no idea about that. Is there any easy way to implement it ?
Thank you!
Hi there, fails to import into my swift project, any guidance or are you preparing for swift version?
Hello, in my project ,i used your BTGlassScrollView, it feel very good ,but when i create page more than 20,the memery is out of 150M, so i want to know have you ever get the same trouble,how can i solve it? i have try to solve it many days ,but no result.
Hi,
This seems to be a nice UI control. Could you update the repository with a LICENSE file, so that it is clear how you intend for the code to be re-used? I believe you mean to allow re-use by your README, but, just wanted to be sure. Thanks
georgemp
It would be nice to be able to install BTGlassScrollView as a pod.
Hello,
I was recently using your scroll view, i like it very much, but there is one thing i would like to know that scrollVerticallyToOffset seems like not working.
And i was also tried to use something like
[_glassScrollView.foregroundScrollView setContentOffset:CGPointMake(0, 200) animated:YES];
doesn't work either, would you mind take a look at it, i don't know if that's a bug or not.
Thanks,
YinBot
Thanks!
Thanks so much for sharing this. It's fantastic.
There is a significant lag when I hit "GO TO THE MAIN APP" in FirstViewController. It loads the views but if you go back and press it again there's another lag to load them.
Any suggestions on how to remove the lag?
Cheers
Tim
Hi there. What is the best way to pass data to the subviews in the foreground? I am using the horizontal swiping implementation and each view needs custom data of course. Is it possible to find the parent index when we create the subviews for the foreground content and set the labels etc so that we know what number we are on?
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.