Skip to content
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

How to use multiple image in single card #12

Open
vikaspatidar805 opened this issue Aug 31, 2019 · 5 comments
Open

How to use multiple image in single card #12

vikaspatidar805 opened this issue Aug 31, 2019 · 5 comments

Comments

@vikaspatidar805
Copy link

For each card, one feature that is very useful is the ability to page between user photos on tap. How to do that?

@nickypatson
Copy link
Owner

you mean paginating user images in each individual node

@donzai1849
Copy link

you mean paginating user images in each individual node

yes exactly.

@donzai1849
Copy link

Like tinder individual card has multiple image (paging)

@nickypatson
Copy link
Owner

Use the below handler to create a UIScrollview, include images with pagination enabled and return UIScrollview to the same.

public typealias ContentView = (_ index: Int, _ frame: CGRect, _ element:Element) -> (UIView)

Let me know your thoughts.Thanks!!!

@donzai1849
Copy link

Can you please elaborate this in demo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants