sobri909 / MGBoxKit

Simple, quick iOS tables, grids, and more
Other
1.79k stars 283 forks source link

Re-ordering rows - can i put an MGScrollView into editing mode? like `moveRowAtIndexPath`? #146

Closed halpz closed 9 years ago

halpz commented 9 years ago

does it have a similar support?

sobri909 commented 9 years ago

Do you mean a UI for allowing the user to reorder the rows? Or a way to programmatically do it yourself?

If the latter, then you can simply reorder the boxes in the boxes array, then call layout again, to update the presentation (or layoutWithDuration: to animate the change).

If the former, then no, there's no built in UI for allowing the user to reorder the rows. You'd have to build that yourself.

halpz commented 9 years ago

Ahh I was looking the for former, I'm afraid - it would be a great feature! I use this Lib a lot

sobri909 commented 9 years ago

Yeah I agree, it would. Unfortunately it's outside the project's scope, as far as spare time allows.