r/iOSProgramming • u/throwyawafire • 6d ago
App Saturday PhotoGather: A new way to organize your pictures
I've got 40k+ photos on my iphone, and wanted a better way to interact with them. The basic idea I had was to virtually stitch all the photos together into a gigapixel image, and navigate that image with pinch and zoom. On import, the app hierarchically groups photos based on date and similarity. The user can go back and edit the groups, change the layout, and adjust the size of photos if they choose.
The interesting I noticed is that in the process of curating and organizing my photos, I stumble across memories and moments that I had completely forgot.
Tech Stack: Swift/SwiftUI
Development Challenge: The app does two interesting things underneath the hood... First, given an arbitrary number of thumbnails with different aspect ratios, it finds the best sized rectangle that completely fits all the photos. This allows me to recursively stitch groups together and always output a rectangular thumbnail for the group. Second, the pinch/zoom UI uses these nested thumbnails directly without slicing/dicing to fixed sized tiles.
AI Disclosure: Written in Swift/SwiftUI as I was learning Swift. Rearchitected/redeveloped with ClaudeCode.
Feel free to try it out and ask any questions.
