Coder Social home page Coder Social logo

Comments (2)

bhochberg avatar bhochberg commented on June 9, 2024

I'm looking for the exact same thing! I would like to utilize GMGridView, but I need the Springboard paradigm, which unfortunately is not currently supported.

The code currently equates editing with deletion instead of reordering (sorting). This is very limiting, and as you mention, not at all springboard-like. Apple's paradigm is that shaking = movable, and has nothing to do with deletion.

I would love to see the following enhancements:

  • setEditing turns on sorting and deletion (perhaps this is customizable as an and/or)
  • have the longPressGesture recognizer turn on editing (and have an option for it to not do anything as well)
  • Have a canSortItemAtIndex delegate call to disable sorting of specific cells. (YES = shake and allow movement, NO = don't shake and can't move)
  • Make canDeleteItemAtIndex only affect the presence of the delete icon and functionality (and leave shaking out of things).

from gmgridview.

gmoledina avatar gmoledina commented on June 9, 2024

Thanks @seboslaw.

Yeah, the springboard behaviour is not replicable with the current codebase.
There's probably a way to do it easily. I'll think of it when I can. Feel free to pull-request if you get around to implement it.

from gmgridview.

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.