Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-5 votes
0 answers
63 views

Let me explain what I am trying to do. If I am doing it wrong let me know how to do it right and forget about this problem. I have a SwiftUI data thing A. I want to have a view that lists the existing ...
0 votes
2 answers
52 views

I'm trying to use SwiftUI to make a ZStack containing a Map (with a MapKit map view), and a Circle view that is placed on top of it. The Circle's pixel position should be to the pixel position on the ...
0 votes
1 answer
70 views

I am using the TipKit in my iOS 16+ app to show usage hints to the user. Since TipKit is available from iOS 17+ I use the protocoal based wrapper shown below. While displaying tips works fine in ...
Best practices
0 votes
2 replies
36 views

I'm designing my first iOS widget. It provides a date in UTC time so, the best optimization, would be to refresh it at every UTC midnight. I found this way let today00 = Calendar.current....
Advice
2 votes
1 replies
70 views

I'm generally holding a Task variable to use cancel for an efficiency in somewhere. (and also calling cancel before setting the Task to avoid making duplicate asynchronous job.) class Test { private ...
0 votes
0 answers
78 views

.pageSheet interactive swipe-to-dismiss freezes when UIDesignRequiresCompatibility = YES on specific iPhone models (iOS 26.x) Area UIKit → View Controller Presentation Type of Issue Serious Bug (App ...
-1 votes
0 answers
47 views

I have a custom circular play/pause button in UIKit that uses CAShapeLayer as a progress ring. Everything works except when I tap the view, the border briefly flashes even though strokeEnd = 0 and ...
-1 votes
0 answers
67 views

I am using this file from swift-snapshot-testing library. After updating my project to iOS 26, I need to fix all the warnings. But I am not sure how to fix this one: 'init(traitsFrom:)' was ...
-4 votes
1 answer
104 views

I am trying to implement license key logic in my app where users can enter the license key they bought from stripe or any payment provider and than, the entered license key would need to first ...
-1 votes
1 answer
66 views

I am trying to compress the PDF (to reduce its storage size) and using following code but instead of decreasing storage size, it is increasing it: import Foundation import PDFKit import CoreGraphics ...
1 vote
0 answers
69 views

In RealityKit, there's a linearDamping that slows down physics velocity with a "drag" effect (or it feels like making the air "thicker"). For example: var body = ...
HL666's user avatar
  • 368
Advice
0 votes
0 replies
46 views

Overview I have a custom type `Statistics` that has 3 properties inside it I am trying to return this as part of the AppIntent's `perform` method struct Statistics { var countA: Int var ...
user1046037's user avatar
  • 17.9k
3 votes
1 answer
240 views
+100

I have a SwiftUI horizontal editor (multiple "canvases" laid out side‐by‐side in a ScrollView). When the user drags a selected object and reaches the left/right edge of the visible area, I want the ...
Hector's user avatar
  • 3,581
1 vote
1 answer
101 views

Using following blocks we are creating front and back of an entity. They are same polygons with some -z distance between them. We see both side of it when we rotate entity in scene. Looks like both ...
Hope's user avatar
  • 2,442
1 vote
0 answers
83 views

I am building a macOS utility using SwiftUI and Swift that records and displays keyboard shortcuts (like Cmd+C, Cmd+V) in the UI. To achieve this, I am using NSEvent.addGlobalMonitorForEvents(matching:...
Zaid's user avatar
  • 507

15 30 50 per page
1
2 3 4 5
...
22421

AltStyle によって変換されたページ (->オリジナル) /