Comments (2)
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.
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)
- How can items drag in both the directions Left to Right and Right to Left ?
- GMGridView reloadData does not refresh view
- Archives has does not contain a single–bundle application or contains multiple products
- iOS 7 Horizontal strategy content size HOT 2
- No document about how to use this control
- if cell width is quite different, grid will show wrong cell when rotating
- ios 5.1 and lower issue HOT 1
- Grid cell want to draw from top HOT 1
- scrollToObjectAtIndex is not working properly when paging is enabled HOT 1
- memory problem - not released/reclaimed HOT 1
- another mem issue
- GMGrid Cell Alignment Issue
- Image stuck on screen
- Sort Help required!
- gridview.edit=yes,how to use sortingdelegate?
- index = -2147483648
- Maybe you can join a group function
- Button not working in subview GMGridviewCell
- Image link in README.md is broken
- animation repeat count doesn't work in GMGridViewCell
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmgridview.