New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Page on Top & Below #18
Comments
Hi, As You could probably achieve this sort of layout using a horizontal I'll raise a separate issue and get a |
@msaps Thanks Can I do that? Present a |
@otymartin you could achieve that view hierarchy with something like this:
You could then switch between the (Left/Center) pages and the top view controller by having a button which adjusts the scroll view's |
@otymartin a |
@msaps |
@otymartin no worries! The gradient interpolation code is in found in the following functions: func updateAppearance(pageOffset: CGFloat)
func gradient(forIndex index: Int) -> GradientConfig
func interpolate(betweenColor colorA: UIColor,
and colorB: UIColor,
percent: CGFloat) -> UIColor? in |
@msaps very nice, I love how they blend in so nicely its just awesome. Makes the infinite scroll more seamless |
@msaps
Is there any plan to support pages on top or below?
Im looking to create a 3 page view [Left, Center, Top] where Top is above Left.
Also side question didnt want to raise issue but can bounce be disabled on First and Last page?
The text was updated successfully, but these errors were encountered: