Ashton

@AshtonDev
184 Followers
247 Following
204 Posts
iOS Developer šŸ“²
I’m here for:Learning from others

Have you ever gotten that notification from Uber when you land at a major airport that encourages you to open the app to book a ride and wonder how they figured out your location? The first time I saw this I wondered who betrayed me and shared this data with them.

It turns out that it might be nobody. iOS can publish notifications for an app based on a geographic region and that app doesn’t know the wiser unless and until you interact with it.

I figured that if I didn’t know this, some of y’all might not. https://developer.apple.com/documentation/usernotifications/unlocationnotificationtrigger

UNLocationNotificationTrigger | Apple Developer Documentation

A trigger condition that causes the system to deliver a notification when the user’s device enters or exits a geographic region you specify.

Apple Developer Documentation
šŸ˜”
This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
Will they ever fix the bug where Safari stops loading?

Xcode offers codegen for localized strings and image/color assets. But it only generates code with internal access level. Not useful when your resources are in a framework.

But what I realized is that you can just call xcstringstool and actool manually with the right incantation, and then post process the generated files to make the symbols public.

Time to drop Cursor.
Hey CoreSimulator team? Can you please get some CI for status bar overrides to make sure they actually work? This is like the third time you’ve broken it

FB22539899 (STStatusBarData.applyDictionary(dict:) does not copy over date information for status bar override)
Allow ā€œcursor-vscodeā€ to access Xcode?
A lot of tools are wasting tokens(money) and compute(environment), but xcodebuild has to be one of the worst offenders. A successful build at work can generate a dense 300,000+ lines of log output. Which xcsift condenses down to just a few lines of json.

RE: https://mastodon.social/@tonyarnold/116264170559253799

This is a great tip I’ve only introduced into my workflow in the last couple of weeks. Subagent using cheaper model, Xcode Skill that uses MCP in the main worktree and xcodebuild | xcsift in other worktrees and as a fallback.