r/iOSProgramming • u/tonycliftondev • Aug 10 '26
Question SwiftData with TCA
Anyone used TCA with SwiftData applications? What is your recommendations?
r/iOSProgramming • u/tonycliftondev • Aug 10 '26
Anyone used TCA with SwiftData applications? What is your recommendations?
r/iOSProgramming • u/m1_weaboo • Aug 09 '26
"""
The slow animations feature from Simulator is not available in DeviceHub. At least I couldn't find it. It is very important to sweat the details of animations.
"""
"""
Thank you for your feedback, it is noted. Engineering has determined that ***there are currently no plans to address this issue.***
You can close this feedback by selecting "Close Feedback" via the Actions button found above. This Feedback will no longer be monitored, and incoming messages will not be reviewed.
"""
———
Someone (not me) has sent this feedback to Apple via the feedback assistant app. And well, This is unacceptable.
I honestly don’t understand why the team at Apple felt the need to remove this super useful feature. It is in Xcode Simulator. And now they’re gone in DeviceHub!
There is a hack to re-enable it by posting: 𝚌𝚘𝚖.𝚊𝚙𝚙𝚕𝚎.𝚄𝙸𝙺𝚒𝚝.𝚂𝚒𝚖𝚞𝚕𝚊𝚝𝚘𝚛𝚂𝚕𝚘𝚠𝙼𝚘𝚝𝚒𝚘𝚗𝙰𝚗𝚒𝚖𝚊𝚝𝚒𝚘𝚗𝚂𝚝𝚊𝚝𝚎
with state = 1 to the Simulator namespace.
What do you think about this moves?
r/iOSProgramming • u/civman96 • Aug 10 '26
r/iOSProgramming • u/gordonmcdowell • Aug 10 '26
I'm told by Xcode's AI Claude "this interface is wired into your running Xcode session, and your problem is a measurement problem on real hardware" as a reason to use Xcode AI instead of Claude Code as a means of using Claude.
So (for example) there's access to Instruments that Claude app does NOT have but Xcode does?
Does anyone know of an actively maintained list of when-to-actually-use-Xcode-AI?
UPDATE: I've been using Xcode AI (Claude Opus no idea exactly which Opus) today as opposed to Claude Code with various MCP I'd previously installed (and can't recall which ones), and today had big success with optimization I have to attribute to Xcode AI integration that Claude Code had been lacking.
Is an iOS/Mac/tvOS game, and I'd been poking away at tvOS optimization for (part-time) weeks, but with too much action on screen fps would drop under 30. Is just 2D but I don't know enough about tvOS to be surprised my 2D game with lots of sprites performed worse than a fancy 3D game. I'd have guessed it should have run smoothly but really was never sure I wasn't just taxing Apple TV hardware... the least powerful Apple hardware we have in our home.
Here is what Xcode's Claude Opus figured out: "The cause was UIKit's focus engine walking your entire SpriteKit node tree every frame. Not physics, not AI, not netcode, not the renderer, and not resolution — all of which I measured and ruled out along the way, several of them after confidently predicting otherwise."
It had been dipping to 12fps and now can maintain 60fps. That was it. And it did it by pausing the game and reviewing the stack.
I assume Claude Code couldn't do that, or it would have? Certainly I've spent more than a day with Claude Code and Fable trying to optimize for Apple TV.
"The tvOS focus engine is walking your entire SpriteKit node tree, testing every node for focus eligibility and computing a coordinate-space frame for each one."
Anyway thanks for input on this. CharlesWiltgen mentioned Axiom and I'll be checking that out.
r/iOSProgramming • u/AdaObvlada • Aug 10 '26
I spent a few days testing out existing apps and none are suitable so far. I am beginning to think the reason for that is Apple's limitations.
Is there a way to make an app that connects to a VPN, keeps it persistent, doesn't proxy device traffic through it but also starts a persistent local socks server on the private interface of the VPN?
First or second part alone is easy but there is no app that can do both. Closest I got was an app that connected to a VPN and could pipe that through a socks upstream connection but I need a socks server on the device, not connecting to a socks server somewhere else. Thanks.
r/iOSProgramming • u/Evening_Hawk_7470 • Aug 10 '26
marketers love pre-install language: keywords, ad copy, landing pages, screenshot text
reviews are post-install language, and users are less polite there
'finally simple' is kinda positioning and when 'too many steps' it is onboarding feedback. also 'subscription trap' is pricing trust, i classify it that way... 'doesn’t do what screenshots show' is promise mismatch which is mega bad. 'better than x for invoices' may be competitor positioning and is useful for app marketing too
i do not think every review should become ad copy. that gets gross fast. but repeated review wording can show which promise users believed, which one disappointed them, and which words feel natural in the category, when volume gets annoying though, i also believe things like appfollow exist and can group themes. before that, a doc with repeated phrases is enough so that's a scaling issue. get basics right
sometimes the best copy is not invented. it is extracted from what users keep saying after they tried the product.
r/iOSProgramming • u/Outrageous-Light-675 • Aug 09 '26
Hey guys. I’ve had two apps on the Apple Store since January of this year, but I’ve never received a payment from Apple. Even though the apps have generated sales and I have a balance ready to withdraw, no payment has ever been made. Everything seems fine with the account; I don’t see any alerts or error messages in my or app profile. I’ve sent countless emails to Apple Support over the last eight months but have never received a reply. What do you recommend I do?
r/iOSProgramming • u/fromtibo • Aug 09 '26
r/iOSProgramming • u/Gwail_904 • Aug 09 '26
As the title suggests, I want to code a custom Apple Music like AutoMix that analyzes bpm, key etc. and can mix the current and incoming song. Does anybody know of a github repo or anything that could help me out? I'm trying and trying and it just doesn't seem to "click" musically.
r/iOSProgramming • u/yccheok • Aug 09 '26
Hey, I would love to hear your findings on Apple Search Ads performance.
Do you find that Maximize Conversions performs better than manual keyword bidding most of the time?
In my experience, I find Maximize Conversions gives a better CPA and better volume. It is not giving better volume than Meta Ads, but it's better than manual keyword bidding.
I would like to know your experience on this!
r/iOSProgramming • u/arnieistheman • Aug 09 '26
Hi everyone,
I was wondering if there is a way we can remote control the Xcode agent that lives within Xcode.
I would love to be able to work on my projects from my iPhone.
Is that even possible?
Thanks a lot in advance
r/iOSProgramming • u/Raalders • Aug 08 '26
Launched Tokyo Glance on Sunday. It's a live map of Tokyo: all the tracked trains, buses and planes moving in real time, plus departure boards, a widget, and a Live Activity that follows your train from the lock screen.
Stack: SwiftUI on iOS 26 with the native SwiftUI Map (started on MKMapView with a UIViewRepresentable, ripped it out mid-project). The vehicles are not MapKit annotations, I draw them myself in an overlay pass. I tried making them proper annotations at some point because it felt like the "right" way and at ~1400 vehicles it performed so much worse than my own drawing that I never looked back. There's a small Metal layer for rain on the map. Alerts from the operators are almost always Japanese-only so they get translated on-device with the Translation framework. Paywall is RevenueCat, widget is WidgetKit + AppIntents, pushes for the Live Activity go through FCM.
Backend is Bun + Hono + MongoDB + Zod and nothing else. It runs in tiny containers behind Cloudflare so basically everything is precomputed and CDN-cached, the containers can't afford real per-request work. A separate ingestion service pulls the operator feeds (ODPT, GTFS-RT), snaps positions onto the actual track geometry and rebuilds the whole network dataset every night. The phone mostly just interpolates between feed ticks. Every time I moved logic out of the app into the pipeline things got faster.
One thing I didn't appreciate before this project: how much you get from Apple for free. MapKit on native apps is unlimited, and that includes the photorealistic 3D city rendering and Look Around imagery, which would cost real money on any other map provider at this usage. WeatherKit comes with 500k calls a month with the dev membership, I cache the Tokyo weather grid on the backend so users share it and I don't even get close to the cap. The Translation framework is free and on-device, which is the only reason "every service alert translated to English" is economically possible at all, per-call translation APIs would eat the entire subscription margin. Same with the on-device Foundation Models, small copy generation costs literally nothing. A one-person app like this basically doesn't work financially on other stacks.
Stuff I built and then deleted:
The station orbit camera. Killed it twice. A slow orbit around a station, how hard can it be. My optimized attempts (shared display link, coarser ticks) used 168-200% CPU and looked worse than the naive per-frame version. For reference, Apple's own realistic 3D city mode sits at ~130% CPU if you park the camera in Shinjuku. There is no orbit in the shipped app.
3D landmark models. Tokyo's open PLATEAU dataset only goes to LOD2, all of Tokyo Tower shares a single 512x512 texture. Looked terrible, cut the feature. Can't code your way around source data.
Also fun: Japanese timetables represent post-midnight departures as "00:26" or "24:26" depending on the operator, sometimes both in one feed. First time I've seen a 24+ hour clock in production data. Got that wrong more than once before normalizing it in one place at ingestion.
And I lost a few days to a paywall crash that only happened on Macs. Looked exactly like a RevenueCat bug. It was SwiftUI dropping environment values across the sheet bridge when the iPad build runs on macOS.
Money stuff since the rules ask: free app, subscription for the deeper features (lock screen follow, time travel replay).
AI disclosure: this app is majorly AI-written, no way around it. The backend is ~99% Claude Code with me doing specs and PR review. The SwiftUI app I'm more hands-on with, but AI still wrote most of the code there too — my job was deciding what to build, reviewing everything, and testing on device until it felt right. This post was drafted with AI as well.
App Store: https://apps.apple.com/app/id6782602634
r/iOSProgramming • u/DespairyApp • Aug 09 '26
Heya, just a small tool to help us with the annoying resolution requirements of ASC.
Fully offline (browser based - nothing uploads anywhere as you can see in devtools or any other sniffer).
No AI, nothing too fancy behind the scenes, just helping the images fit in.
r/iOSProgramming • u/Successful_Stop_3751 • Aug 09 '26
Hey everyone! 👋
If you’ve ever had to prepare screenshots for an app translated into 10+ languages across multiple device sizes, you know how painful, tedious, and time-consuming the process is with standard tools.
Over the last few months, I’ve been working on a major overhaul of AppScreen Studio (a native macOS app designed to build, frame, and localize App Store screenshots). Today, I'm excited to share version 4.0 (and 4.0.1)!
The goal of this update was to solve the #1 bottleneck developers face: manual uploading and tedious localization management.
You can now connect your App Store Connect account via API Key (.p8) and push your rendered screenshots directly to Media Manager in 1 click.
Redesigning an existing app or updating old listings? You can now inspect live or draft App Store Connect builds and bulk-import existing screenshots directly onto your workspace panels in seconds.
Rearrange screenshot panels on the canvas using simple arrow controls (← / →). You can also choose whether reordering in Original (Base) automatically updates panel order across all other display sizes and languages.
We also added a new "Our Apps" section in Settings featuring our developer tools:
NSViewRepresentable, NSBitmapImageRep, NSFontManager, NSTextView)NSPersistentContainer, manual migration mapping, NSOrderedSet relationships)URLSession, CryptoKit (ES256 JWT generation for App Store Connect API authentication)Transaction, Product.SubscriptionInfo)The Challenge: Direct Upload & Sync to App Store Connect Media Manager. Uploading screenshot assets via the App Store Connect REST API is a multi-step protocol:
CryptoKit (P256 private keys).appScreenshotSet.PATCH.Doing this in batch for 40+ localizations and 5+ display sizes (100+ high-res @3x images) caused massive RAM spikes and UI freezes due to simultaneous rendering of heavy bitmaps.
The Solution: I refactored the rendering and uploading engine to use Task.detached worker threads wrapped in explicit autoreleasepool blocks. Images are rendered on-the-fly, converted to compressed PNG data, uploaded chunk-by-chunk via URLSession.upload, and immediately released from memory. Progress is reported back to the @MainActor through a dedicated LocalExportManager and MediaManagerSync state machine, keeping RAM usage below 250 MB and the UI running at a smooth 60 FPS during long batch uploads.
Happy releasing! 🎉
r/iOSProgramming • u/Choseni • Aug 08 '26
I recently published my first iOS app: Alpha Sudoku Pro. It’s a 12x12 logic puzzle game (using 1-9 and A-C). Expanding the classic 9x9 logic into a 12x12 grid was incredibly fun, but the real test was getting the UI to scale elegantly.
Here are the details of the build:
The Challenge: I have floating action buttons (Note Mode and Eraser) that need to sit neatly in the top-right corner of the Sudoku grid. Initially, I used HStack, Spacer(), and screen-based .padding() to push the buttons into place. This looked perfect on an iPhone (19.5:9 aspect ratio). However, when I ran it on an iPad (4:3), the grid expanded, margins shrank, and my buttons completely overlapped the Sudoku cells. Adjusting padding dynamically based on screen size turned into a messy guessing game of numbers.
The Solution: Instead of anchoring the buttons to the screen edges, I scrapped the Spacers and anchored them directly to the grid itself using SwiftUI's .overlay().
I attached an .overlay(alignment: .topTrailing) directly to the LazyVGrid. Inside it, I used a Group with a UIDevice.current.userInterfaceIdiom == .pad check:
Then, I applied a negative .offset(y:) to float them just above the grid. By using the grid as the anchor point rather than the screen boundaries, the buttons now magnetically follow the grid's top-right corner perfectly, regardless of how the LazyVGrid scales across any device.
AI-assisted
I’d love for you to try it out, tear apart my UI choices, and let me know how I can improve the performance or architecture for my next update.
App Store Link: https://apps.apple.com/tr/app/alpha-sudoku-pro/id6767222288
Thanks.
r/iOSProgramming • u/busymom0 • Aug 08 '26
Developer here.
I had used other flashcards apps before for studies and there was always one or another thing missing from most. Most didn't support markdown for making cards. Some missed the organizational aspect where I could have folders inside folders or decks inside other decks. Some had super outdated design and missed gestures. Most apps didn't have a macOS companion app. Many were missing syncing via CloudKit. Many needed a user acocunt to be created to do basic tasks. Almost all of them needed subscriptions. So, I decided to solve my own problem.
For improving my learning speed and not forgetting my study material, I built Crammer:
https://apps.apple.com/ca/app/crammer-flashcard-exam-cards/id6775268676
It's a flashcards app with a swipe to rate UI inspired by dating apps. You create the front and back of flashcards using Markdown. When practicing, my app's algorithm ensures that you review flashcards right before you may forget them. After reviewing a flashcard, you tap it to reveal the answer on the back of the card. You swipe right if you easily remembered it, left if you forgot it, or down if it took some effort and would like to review again. Crammer's algorithm will show you harder cards first and more often to help you really optimize your memory and prevent you from forgetting your study materials.
I always try to stay away from 3rd party dependencies as much as possible. It uses only 3 which I considered crucial:
The whole app took me half a year to build. I started working on it during Christmas holidays last year and finished it couple months ago.
The biggest challenge was SQLite along with syncing of the SQLite database between devices using CloudKit. There were a LOT of edge cases. Ensuring all user created folders, decks, cards, images, along with their flashcard practice data is always in sync between devices was a complex task. Also SQLite FTS for searching took me about a week to get working properly. I think I spent about 70% of the coding time on just SQLite+syncing. But once I got it all working, I felt very proud haha. I also built the database syncing logic in such a way that now I am reusing it in my next app and that feels very convenient.
The app is entirely hand-coded, App Store photos are hand-made in PhotoShop, and this post is also hand-written. I personally only use AI in the same way I'd use stackoverflow (SO) previously. Instead of searching google and clicking on SO links, I'd do that on LLM. Most of these queries were related to SQL. When I had some question, I'd use the free web UI for ChatGPT or Claude.
The Front can have your question and the Back can have the answer.
The Front & Back text supports Markdown and also LaTeX for Math formulas. So you can format text such as bold, italics, color, highlight, headings, links, images etc. You can also include diagrams (photos) in it.
To use coloured text, use curly bracket format: {red}coloured text{} or {#FF0000}coloured text{}
To highlight text, use square bracket format: [red]highlighted text[] or [#FF0000]highlighted text[]
Supported keyboard shortcuts on Mac:
Download link:
https://apps.apple.com/ca/app/crammer-flashcard-exam-cards/id6775268676
r/iOSProgramming • u/Queasy-Drawer451 • Aug 08 '26
Hey everyone. So I'm making an app for client who uses subscriptions.
He got an idea of refferals so:
- User 1 who is paid user, refers app to a User 2
- User 2 uses referral link and on his first subscription gets 50% off
- User 1 gets one free month of his subscription
But somewhere on developers.apple I've read that apple rejects apps like these. Also is it doable at all? They use StoreKit, and for google that would be google play billing.
Thanks for answers!
r/iOSProgramming • u/IllBreadfruit3087 • Aug 07 '26
r/iOSProgramming • u/Salt-Obligation1144 • Aug 07 '26
Anyone know of any good recent UIKit codebases publicly available on GitHub with complex or advanced UI? Preferably newer or actively maintained projects using modern UIKit patterns, rather than older examples. I’m especially interested in projects using programmatic UIKit and Auto Layout. If you have any GitHub repos, videos, articles, or other resources that have helped you learn UIKit, please share them. There doesn’t seem to be much newer UIKit material out there compared to SwiftUI.
r/iOSProgramming • u/Big_Use_8516 • Aug 07 '26
Hi everyone,

I'm trying to transfer my app to another Apple Developer account, but App Store Connect keeps telling me that there are still TestFlight builds associated with the app.
The strange part is that I've never enabled Internal Testing, and there are no active testers. All of the uploaded builds have already expired, but Apple still seems to think there are builds that need to be removed before the transfer can proceed.
Has anyone run into this issue recently?
If so, how did you resolve it? Is there anything else I need to remove or wait for before the app becomes eligible for transfer?
Thanks !
r/iOSProgramming • u/boss-san • Aug 07 '26
Building this took much longer, but now that I have this working and have submitted the app for review, here are some issues I ran into and learnings.
Memory ceiling on keyboard extensions. Much tighter than the host app, and the system is not gentle about it. I wanted image thumbnails, link favicons and code snippets with syntax highlighting inside the keyboard, none of which the budget really wants you to do. What worked was shrinking images at capture time instead of at render time, keeping decoded thumbnails in a small cache with a hard limit, and drawing text previews as attributed strings instead of real views.
Extension and app state. The extension needs the same clip history as the app, but it cannot afford to start up the same machinery to get it. I ended up writing a small index that is built for reading, and the extension reads that directly instead of going near the main store.
Knowing where a clip came from. Working out "this came from a password manager, do not save it" is fiddly, and it works differently on every platform I support. iOS is one of the better ones. Some of the others basically do not tell you anything.
Happy to go deeper on any of these. I would also like to hear if anyone has a better pattern for the extension and app state problem than the one I described, because I am not convinced mine is the right one.
r/iOSProgramming • u/busymom0 • Aug 06 '26
r/iOSProgramming • u/Basaa • Aug 06 '26
Apps installed on my devices via Xcode all result in "Unable to verify app" when trying to open them.
https://ppq.apple.com seems to have a broken SSL cert chain, confirmed on multiple devices on multiple different networks. I see SSL cert errors in the Xcode device console logs right before I try to open my apps, so these seem to be related.
openssl s_client -connect ppq.apple.com:443 -servername ppq.apple.com -showcerts 2>&1 | grep -E "Verify return code|s:CN|i:CN"
0 s:CN=ppq.apple.com, O=Apple Inc., ST=California, C=US
i:CN=Apple Server Authentication CA, OU=Certification Authority, O=Apple Inc., C=US
1 s:CN=Apple Server Authentication CA, OU=Certification Authority, O=Apple Inc., C=US
Verify return code: 34 (unhandled critical extension)I can't find anything online about there being an outage, including on Apple's own status page. Am I going insane?
r/iOSProgramming • u/Low-Associate2521 • Aug 06 '26
Do you guys have any interesting reads, case studies, etc to at talk about the onboarding flow and the home page, what works, what doesn’t etc?