r/iOSProgramming • • Jun 25 '26

Tutorial Taking control of toolbar items in SwiftUI

Thumbnail
swiftwithmajid.com
6 Upvotes

r/iOSProgramming • • Jun 25 '26

Question As solo developer how do you implement AI features into your app?

15 Upvotes

Hi,

Wondering what are the options if I want to create an AI features into in my app. I know about openAI api and other various API’s. The thing is I am a tad scared to use them because I hardly understand how they charge. I know a lot of stories where people used it wrongly and got huge bills for that.

Also, do we always need these powerful models? Can’t we use in some cases like qwen 8b or something like that running on a VPS?


r/iOSProgramming • • Jun 25 '26

Question Easiest way to create SF Symbols

6 Upvotes

In my app I’m using icons created with illustrator and exported as png. I would convert them to SF Symbols, is there some way to do that in a easy way?


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.