Post

Replies

Boosts

Views

Activity

Comment on Problem with UIBarButton menu
So the question is: who is self referring to ? Could you check ? Maybe it is to an instance that does not exist anymore. Could you try adding a capture of self ? UIAction(title: "Edit Value", image: UIImage(systemName: "square.and.pencil"), handler: { [self] (_) in
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’23
Comment on Is DragGesture buggy or am I messing something up?
That is now solved in the last code I sent. Problem was because angle value jumped when crossing some limits. So it's not an atan2 issue, but in its use: when value.translation changes sign, there is a steep jump from -π/2 to π/2. Tell if that's OK now and don't forget to close the thread on last answer if it works.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’23