modocache / mdcparallaxview Goto Github PK
View Code? Open in Web Editor NEWCreate a parallax effect using a custom container view, much like the top view of Path's timeline.
License: MIT License
Create a parallax effect using a custom container view, much like the top view of Path's timeline.
License: MIT License
Tapping the status bar doesn't cause the MDCParallaxView instance to scroll to the top, even when specifying it using the scrollview's 'scrollsToTop:' method.
Hi, i have implemented handle touches on background view (image), please include this codo to project:
(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{
if ([_backgroundView pointInside:point withEvent:event]){
int visibleHrightOfBackgroundView = self.backgroundHeight - self.foregroundScrollView.contentOffset.y;
if(point.y < visibleHrightOfBackgroundView){
return _backgroundView;
}
}
return [super hitTest:point withEvent:event];
}
Hi,
I know this is a bit premature, but I'm porting my app to iOS 7 which is using your control. For some reason using a UIView as a foreground view makes all the subviews start their layout in the middle of the screen (x axis)
The screenshot below is a view controller with an image as a background view and a uiview with another image as the foreground view. as you can see the image on the foreground view is in the center.
hello pls if your MDC parallax is now in cocoa posds
Hi guys, my controller isn't picking up the tap event in the simulator or on a device. testing using the implementation in my application as well as an unedited clone of your sample app. not quite sure what the problem is but the handleTap: is never called. any thoughts?
iphone5, iOS 6.1
thanks!
Hello,
You have done the great job. I am facing one problem to do with this control.
I want to do the if the user pull down the image view comes to full screen and if user swipe up to normal screen. this idea I am getting from Expedia iPhone app please look on this the Hotel full screen mode do the exactly what I am trying to explain.
Thanks in advance.
First of all thank you for making this control. I am having an issue placing an UICollectionView as a background view. Everything loads fine, but the scrolling stops working after 1 scroll. If paging is enabled it allows me to scroll 1 page and if not then 1 swipe. Any suggestions?
I think allowing the user to interact with the background view would be a great feature.
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.