Skip to main content
1 vote
1 answer
26 views

I’m hitting a very specific runtime crash in iOS 19.2 (Xcode 17.1) that I haven't seen documented anywhere. I have a List where each row uses the new @Observable macro for its view model. Inside the ...
unknown's user avatar
0 votes
1 answer
61 views

I have a very weird issue that if I have a List inside a NavigationView, the title disappears. But this only happens if I have set a background color. Here is the code that Works. import SwiftUI ...
nonstopcoding's user avatar
0 votes
1 answer
51 views

I have a subclass (MyTextView) of NSTextView. When i try to test its (working) undo/redo using Swift Testing its undoManager property is always niland the test fails. // Added extension extension ...
user1007047's user avatar
-1 votes
2 answers
82 views

I recently added a setting to my Mac app that allows the use to select between a light, dark, or automatic appearance. While this works overall, if you select dark and relaunch the app while the ...
S Jensen's user avatar
0 votes
1 answer
39 views

I want to create my own AppShortcut so I can search for my app and its contents on Spotlight. Currently I have these codes: import AppIntents @available(iOS 16.0, *) struct TransferIntent: AppIntent {...
Bawenang Rukmoko Pardian Putra's user avatar
0 votes
0 answers
43 views

Environment SDK Version: 13.2.0 (via SPM)[https://github.com/googleads/swift-package-manager-google-mobile-ads.git] Xcode Version: 26.0 Platform: iOS Ad Format: Interstitial Issue Description I am ...
user3318703's user avatar
1 vote
0 answers
54 views

I’m investigating Core Data lightweight migration behavior with SQLite and ran into a performance issue. Scenario: Model V1: EntityA has one fetchIndex Model V2: EntityA adds a new optional ...
ChaseChoi's user avatar
  • 175
Advice
0 votes
1 replies
43 views

My understanding is the TripsFeedViewModel runs on the MainActor due to observable so this class is basically isolated to an actor, the MainActor. So in a sense it does prevent data races. Then when ...
ctechasiri's user avatar
0 votes
0 answers
56 views

Has anyone else been getting reports of navigations breaking for a random subset of users since upgrading to Xcode 26? Broadly, it seems that the SwiftUI navigation state falls out of sync with the ...
bkbeachlabs's user avatar
  • 2,193
0 votes
2 answers
82 views

I want to add a background color like below: I tried to achieve it by adding a ZStack, but was not successful and getting a view like this: TabView(selection: $coordinator.selectedTab) { // Chat ...
Pranay Vohra's user avatar
1 vote
0 answers
59 views

My object makes the sound is on the right of screen regardless of iOS device landscape mode. Sound comes from object location while device at landscape mode which usb input is at right. But when the ...
Hope's user avatar
  • 2,482
-4 votes
1 answer
110 views

i have a multidimensional Int Array. I want to check each array with each array but without repeating same operations like comparing myArr[4] with myArr[5] and later myArr[5] with myArr[4] . My goal ...
Joe's user avatar
  • 143
-1 votes
0 answers
89 views

I am learning Metal. My starter project is a rewrite of an old Mac kaleidoscope app I wrote in Objective C and OpenGL. I'm rewriting it as a Multiplatform app in SwiftUI and Metal, using `MTKView`s. ...
Duncan C's user avatar
  • 132k
0 votes
0 answers
42 views

Environment: Devices: iPad Pro 11" M4, iPad Air 11" M3, iPad Pro 11" Gen2/3/4 Language: Swift Framework: AVFoundation Front camera: UltraWide (M4/M3), TrueDepth (Gen2–4) Video ...
Mayur Pingale's user avatar
0 votes
0 answers
87 views

The basis for this is that I have an app where I am modifying a database using a simple Model: Record. If I insert 10 records, and perform modelContext.save() I receive the notification (ModelContext....
lar3ry's user avatar
  • 680

15 30 50 per page