Search results for

SwiftUI List performance

50,605 results found

Post

Replies

Boosts

Views

Activity

"Application has not loaded accessibility" timeout followed by silent auto-recovery corrupts framework state on iOS 18
On iOS 18, when XCUITest encounters an Application has not loaded accessibility error after the 60 second timeout, it performs an undocumented auto-recovery (Setting up automation session) instead of halting the test as documented. This leaves the XCUITest framework in a corrupted state, causing subsequent tests in the same session to fail with unexpected behavior. Expected Behavior (per Apple documentation): Any failure in the launch sequence will be reported as a test failure and the test will be halted at that point. Actual Behavior: XCUITest waits 60 seconds for accessibility to load Logs Application has not loaded accessibility error Instead of halting, performs Setting up automation session (auto-recovery) Test continues with corrupted framework state Subsequent tests in the same session fail with phantom element queries Steps Run XCUITest suite on a real iOS 18 device Have an app with moderately heavy initialization (e.g., synchronous network operations during bootstrap) Observe inter
0
0
163
Jan ’26
Reply to Custom @Observable RandomAcccessCollection List/ForEach issues
I learned my lesson to not color outside the lines with pure SwiftUI. I've not tried it again since April, so maybe something changed with the Xcode releases since then, but I just export pure arrays from my view models instead of trying to be clever with custom collections. It would be cool if it were predictably extensible, but there's too much goddamn magic going on to waste time with it in my opinion.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’26
Reply to Reduce dyld overhead
[quote='813195021, CamJN, /thread/813195, /profile/CamJN'] that's a LOT of overhead! [/quote] In relative terms, sure. But it’s also a short amount of total time, so it doesn’t give you a lot of space to optimise. Anyway, there are a bunch of things you can do on this front, but there are also certain fundamental limits to how fast a given process can launch. If you use C to create a small ‘hello world’ project, how does its performance compare to that of your tool? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’26
Reply to My app is for iPhone only. The reviewers are not reading/getting my messages
[quote='872985022, nightow1, /thread/813147?answerId=872985022#872985022, /profile/nightow1'] You have a choice, right? [/quote] No, you literally don't. Every iPhone app is expected to work on an iPad. It doesn't have to be written as an iPad app, i.e. it doesn't have to take up the full screen and have all the same navigation stacks, tabs and layout as an iPad app does, but the app must function on an iPad. App Store Connect shows it is an iPhone app, yes, but that just means it is listed in the App Store for iPhones. If someone downloads it on their iPhone it will also become available on their iPad, too, so it must work on their iPad as well. As I said, run it on an iPad and see if the app works properly. If it doesn't, then you have to fix it. The App Review Team are literally telling you that they are rejecting it because it doesn't function properly on an iPad. Your app must work on an iPad, so make it work on an iPad. Just run it on an iPad and see what needs fixing. It might be a really simp
Jan ’26
Picker style .menu doesn't handle nil
Here's the code... import SwiftUI enum Side: String { case left case right } struct SideView: View { @State private var name: String = @State private var side: Side? = nil var body: some View { NavigationStack { Form { Section { TextField(Name, text: $name) Picker(Side, selection: $side) { Text(Left).tag(Side.left as Side?) Text(Right).tag(Side.right as Side?) } .pickerStyle(.menu) // displays with Left selected even though side is nil // .pickerStyle(.inline) // all the other styles work as expected, nothing initially selected // .pickerStyle(.palette) // .pickerStyle(.navigationLink) } } } } } #Preview(SideView) { SideView() } Even though side is nil the .menu style displays with Left selected. Try any of the other styles. They all display with nothing initially selected. As they should when side is nil. This seems like a bug and I've submitted feedback. ID: FB21685273 Whether it's a bug or not has anyone worked around this?
Topic: UI Frameworks SubTopic: SwiftUI
1
0
121
Jan ’26
coreaudio-api mailing list search broken
Hello, The search functionality of the coreaudio-api mailing list archive has been broken for a very long time. Several of the lower-level audio APIs have only been discussed on this mailing list, making it critical for those of us maintaining old audio code. Steps to reproduce: Open https://lists.apple.com/archives/list/coreaudio-api@lists.apple.com/ in your web browser. Enter a search term in the Search this list field in the top-right corner of the page. The search will eventually time out with 502 Bad Gateway Can somebody please forward this information to the current maintainer? I've tried to contact developer support but they weren't sure what to do. Thanks!
1
0
177
Jan ’26
Reply to App Rejected for Being "Too Similar to LaunchPad" - Seeking Specific Guidance on Differentiation
the lengthy lecture about what App Review is doing me a favour with a bit strange After your initial greeting, you said, and I quote, I'm seeking advice. And then, at closing, you doubled-down on that with, Any advice, experiences, or suggestions would be greatly appreciated. You've also managed to argue both that Launchpad is terrible (and Tahoe's version is even worse), and that I shouldn't bother building something better. You're mischaracterizing my statement. I suggested that you shouldn't build something that looks like LaunchPad, and apparently App Review agrees with me. That's what an app launcher looks like. As I said in my first reply, I recently purchased a nice app launcher from one of my favourite developers. It looks nothing like LaunchPad. That fact was part of the appeal. My original question was a straightforward one: have people encountered IP issues during review for apps that improve on native functionality? You posted a numbered list of 5 specific questions, followed by an explic
Jan ’26
failing XPC connection to SMAppService based LaunchDaemon on some macOS 26 Macs ("FATAL ERROR - fullPath is nil"?)
our app has a helper to perform privileged operations which communicates with the main app via xpc_connection* previously that helper was installed via SMJobBless() into the /Library/LaunchDaemons/ and /Library/PrivilegedHelperTools/ due to various issues with the old SMJobBless() as well as it being deprecated we have ported the helper to the new SMAppService API where the helpers do not need to be installed but remain within the app bundle ( [[SMAppService daemonServiceWithPlistName:HELPER_PLIST_NAME] registerAndReturnError:&err] ) the new approach has been used in production for a year now and works fine in most cases and seems to be more reliable than the old SMJobBless(). however, we've observed two problems with the new helper architecture. • sometimes when users update the app (with the built-in Sparkle framework), the app does not seem to have FullDiskAccess, although the checkbox in the system settings remains toggled on. only once the Mac has been restarted, things work fine again. sinc
8
0
175
Jan ’26
Reply to App review - ipad issue
I know this is years later.. but I am going through a reverse situation. I have falsified everything for iPad in the code, am not required upload iPad photos, but the reviewers keep being told to judge how my app performs on iPad for some reason. So frustrating. And only a small number actually read the messages before reviewing, so I am stuck in a loop with the reviewers of them thinking the app is for ipad when it is not. Hopefully, I can get some help with resolving this soon.
Topic: App & System Services SubTopic: Hardware Tags:
Jan ’26