vinodh-g / parallaxtableviewheader Goto Github PK
View Code? Open in Web Editor NEWParallax scrolling effect on UITableView header view when a tableView is scrolled
Parallax scrolling effect on UITableView header view when a tableView is scrolled
can you plz make it pod
can it be sticky?
I loved your library, if you intersete, I can help with cocoapods adiction.
Is there is any way to include the page control to the parallax effect.
Hi
Does this work with storyboards?
Hi, nice plugin.
I have one issue. I have navigation controller. My root view controller is FirstView and SecondView contains tableview with parallaxTableViewHeader. Now when i push from FirstView to SecondView it will take time to push to SecondView. (parallaxtableviewheader setup takes time to load the second view)
Can anyone give the suggestion to resolve this issue.
Thanks.
hi, thanks for your code
i attempt to use this method to creat a headerView. my subView has a button for login. when i clicked login button to push to loginViewController and back to root, the bluredImageView is malposition.
finally,i fix this bug by following code:
and , i find the screenShot method in the code always flicker when it is called, so i instead of method :
-(UIImage *)getImageFromView:(UIView *)orgView{
UIGraphicsBeginImageContext(orgView.bounds.size);
[orgView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return image;
}
Forgive my rude,may it's my own mistack, thancks a lot.
Hi,Vinodh-G:
How to Create the ParallaxTableViewHeader With Custom UIView SubClass? now we can only create it with a UIImage and UILabel Text.
Any pod file available ?
This header needs to be layout on tableview delegate, why not just add observer for the contentOffset for the tableView inside this header?
Hi! @Vinodh-G
Like the picture:
keep the header certain boundary not disappear, aways show in TableView.
Jack
Hi, can i put the header view from URL?
Regards.
Is it compatible with swift 2?
I am trying to implement this with Xcode7 and swift 2.
will it be possible to do from storyboard?
is there any example for it?
Thanks in advance.. :)
How can i Edit Header View to use multi image with paging enable & Parallex together?
The swift sample code does not setup the view properly. It should be using the width not the height of the tableview.
let headerView: ParallaxHeaderView = ParallaxHeaderView.parallaxHeaderViewWithImage(UIImage(named: "YourImageName"), forSize: CGSizeMake(self.tableview.frame.size.width, 300)) as ParallaxHeaderView
Hey,
What a brilliant parallax effect! Excellent job. I was only wondering if there was a way to fix this error:
This occurs in the following circumstances:
A thing I have noticed is that the less the kParallaxDeltaFactor, the less the bug. I have it set a 1.0f. (The nav bar has nothing to do with it).
Any help would be greatly appreciated.
Hi,
thanks for the great parallax effect, however I am having issues with it. Namely the image and label appear too far to the right until I scroll, when they are replaced correcly.
Also, the blur turns the image completely dark rather than simply blurring it.
I am using xcode 7 and swift 2.0
I tried adding gestureRecognizer directly to headerView but not working, so I also tried:
` let headerImageView = UIImageView(frame: CGRectMake(0, 0, UIScreen.mainScreen().bounds.width, UIScreen.mainScreen().bounds.width*0.667))
headerImageView.image = headerImage
headerImageView.userInteractionEnabled = true
let tap = UIGestureRecognizer(target: self, action: "showOrgIntroView")
headerImageView.addGestureRecognizer(tap)
let headerView = ParallaxHeaderView.parallaxHeaderViewWithSubView(headerImageView) as! ParallaxHeaderView
self.tableView.tableHeaderView = headerView`
But it still doesn't work either.
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.