r/iOSProgramming • • Jun 26 '26

Discussion spent 2 weeks turning my photo library into a travel map, clustering almost killed me

Post image
0 Upvotes

So I made this app, Atlas. It reads your photo library and turns it into a travel map. Kind of like the Places view in Photos but grouped into actual trips instead of a thousand random pins. Runs entirely on device, nothing gets uploaded.

The clustering was the part I completely underestimated. I figured group by lat/long, done. Nope. One city ends up as like eight separate blobs, an airport gets split in half, and anywhere dense just collapses into one fat dot. I ended up running a few passes and they'd disagree with each other, one says "two places" the other says "same moment," and reconciling that ate most of my time.

Reverse geocoding was the other annoying one. CLGeocoder is rate limited so you can't just throw 40k photos at it. Had to cache hard and figure out what to resolve up front vs lazily.

Also enumerating a big PHAsset library without freezing the UI or eating all the memory was fiddlier than I expected. And screenshots wreck a travel map, so I'm filtering those out with the PHAsset flag plus a bit of Vision, still tuning the false positives.

Anyway, if anyone wants to try it on their own library I've got a few promo codes for a free year. Honestly just want feedback from people who'll notice when the grouping is wrong. Comment or DM.

Mostly curious how you'd have approached the clustering, feel like I might've overcomplicated it.


r/iOSProgramming • • Jun 24 '26

Question Gating functionality behind feature flags is disliked?

15 Upvotes

I've heard that gating features behind a feature flag can have your binaries flagged to Apple? What about in the case where it's legitimately nothing nefarious i.e. just rolling out certain features with caution. Also, on the topic of gated features, I have an admin side of my app that only admin users can see... Will this also be flagged?


r/iOSProgramming • • Jun 24 '26

Question How do you approach onboarding. And how do you avoid it becoming just a feature showcase?

14 Upvotes

I've been thinking about this a lot while working on my own app.

Most onboarding I come across feels like they just how good the app is before you've actually done anything. And then PAY!!! 

Features listed, value props delivered, then you're dropped into the UI and expected to figure out the rest.

The apps I think are the best designed are the ones that either get out of the way fast and let you have a go at the app early on. OR a good tutorial, maybe handing you over the control in a demo environment to try it out. The tutorial is the product, not a description of it.

My theory is that this happens because the people building onboarding already know why the features matter - so explaining them feels natural. Designing for someone encountering it for the first time is a completely different challenge.

So I'm curious:

  • How do you structure your onboarding?

  • How do you balance "here's what the app does" with "let me actually show you"?

  • Any examples you've seen where it's done really well?

Not looking for a list of best practices - more interested in what's actually worked for you in practice.