Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scrollable grid-like view

I'm writing an app with a view that has a grid of images (3x3) and it needs to have infinite scroll per row and per column with snap to position, very similar to the 'Design Museum Collection' app. How would I go about implementing this view? Is there a library that already supports this? I would like to implement this natively in IOS. Can I use UIScrollView or do I need to create this bidirectional scroll view from scratch. Here is a video of the 'Design Museum Collection' app (http://vimeo.com/39260302).

Thanks in advance!

like image 967
dev888 Avatar asked Nov 24 '25 17:11

dev888


1 Answers

It's been quite a while since your question but as I've been struggling with the same thing I'm gonna answer it for future reference...

Sadly I could not find a good solution anywhere so after a lot of hours of experimenting I came up with this: https://github.com/AlvinNutbeij/DWGridController

It's still a work in progress but very usable for your purpose I'd say!

like image 61
Alvin Avatar answered Nov 27 '25 05:11

Alvin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!