Giter Club home page Giter Club logo

Comments (4)

JoniVR avatar JoniVR commented on May 29, 2024

Hi @Phuzer
Currently there isn't really a simple way to do it as far as I'm aware.
I won't say it won't be supported in the future, but currently I want to prioritise other things like a stable release and insert/delete/move etc.

Feel free to take a stab at it and create a PR, but I don't really have time to implement it right now.
I'm sorry.

Best regards,
Joni

from verticalcardswiper.

Phuzer avatar Phuzer commented on May 29, 2024

Ok, thanks for the response. I will try to implement it, do you have any quick suggestion how would you implement it or how it might work?

from verticalcardswiper.

JoniVR avatar JoniVR commented on May 29, 2024

You'd probably have to dive into the code inside the VerticalCardSwiperFlowLayout and modify some of the math (probably in updateCellAttributes) there and add a variable that we can set so the user can pick whichever amount of visible cards he/she wants.

It's probably also related to how the UICollectionView handles cell reuse so if you're unfamiliar with how that works, you might want to look at some of the Apple documentation on UICollectionViewFlowLayout, UICollectionView, ...

This is just my guess as I haven't really looked at this thoroughly.
Again, I'm not saying that I won't consider implementing this in the future, but I'd currently rather focus on fixing as many bugs as possible and adding some more basic features for a stable release.

from verticalcardswiper.

JoniVR avatar JoniVR commented on May 29, 2024

Closing for inactive, again, if anyone wants to take a stab at it, feel free to submit a PR or reopen in the future.

from verticalcardswiper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.