4 ms·
Open sourcing the “quilt” view for iOS
- Kerrick 14y agoI prefer the horizontal "quilt" style to the vertical; I prefer rows with differing widths [1] to columns with differing heights [2]. [1]: https://plus.google.com/photos/116367707637773884266/albums/5629024228917844321 https://plus.google.com/photos/116367707637773884266/albums/... [2]: http://pinterest.com/ http://pinterest.com/
- michaelfairley 14y agoWe used to have a horizontal quilt[1]. We got rid of it both for design reasons, and because the math behind it is much trickier and limits the layout (e.g. you can't do arbitrary ordering of the photos). 1: http://www.iftf.org/system/files/images/Screen%20shot%202011-02-03%20at%204.28.36%20PM.img_assist_custom-557x447.png http://www.iftf.org/system/files/images/Screen%20shot%202011...
- joshavant 14y agoHere's my MIT licensed implementation of a horizontal 'quilt' view: http://github.com/joshavant/JAGridView http://github.com/joshavant/JAGridView In fact, the inspiration behind this layout was Google+/Picasa albums!
- christina_b 14y agoThe horizontal one looks pretty cool too.
- aaronbrethorst 14y agoNice! I'd love to see you guys submit this to http://www.cocoacontrols.com http://www.cocoacontrols.com
- bvrlt 14y agoDone! http://www.cocoacontrols.com/platforms/ios/controls/tmquiltview http://www.cocoacontrols.com/platforms/ios/controls/tmquiltv...
- kreeger 14y agoYou also may want to investigate adding a podspec for CocoaPods. http://cocoapods.org/ http://cocoapods.org/
- aaronbrethorst 14y agothanks!
- MaxGabriel 14y agoIs the conversion to ARC something you guys are doing or is it an open-source effort? This looks really great, by the way :)
- bvrlt 14y agoIt's in our plans but we don't have any urgency in doing it. If you feel like doing it, it shouldn't be too hard and we would be happy to integrate your changes.
- akaru 14y agoI wonder how UICollectionView might help in designing these kinds of components.
- mikeevans 14y agoAnyone done anything like this for Android?
- Bretthuneycutt 14y agoWe have (https://play.google.com/store/apps/details?id=com.thousandmemories.shoebox&hl=en https://play.google.com/store/apps/details?id=com.thousandme...). We're considering open sourcing this as well in the coming weeks.
- christina_b 14y agoThat's nice.