Post

Replies

Boosts

Views

Activity

Reply to Memory Leak & Slow Down in SwiftUI for MacOS
I can confirm that SwiftUI does not clean up something when view's state changes on macOS. In my app, I change view's state on each mouse move and I can see the allocated memory climbing up and up as I move the mouse around. The worst is that it's not just an issue of the memory. The app is also getting slower and slower - presumably because SwiftUI keep doing unnecessary work. Sample view: @State private var hoverX: CGFloat = 0.0 var body: some View {           Color.blue.frame(width: 50, height: 50)     .offset(x: hoverX, y: 0)      .onMouseMove { point in         hoverX = point.integral.x      } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
Reply to Core data failed to find the migration mapping file due to the derived attribute.
Hey, we came across the same bug. Have you been able to workaround it?
Replies
Boosts
Views
Activity
Oct ’23
Reply to Can you perform two or more OFFLINE speech recognition tasks simultaneously?
@MinsterE, did you figure out if it's possible?
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Is it possible to embed a Mac Catalyst app in an Appkit app.
@nehayward have you been able to solve this? Or at least confirm if it’s possible or not?
Replies
Boosts
Views
Activity
Oct ’21
Reply to NSManagedObjectContext's processPendingChanges() is not called at the end of the RunLoop
Edit - Sample Project I've been able to isolate the issue in the sample project: Github Repo
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to Raw data is incomplete in MEMessageActionHandler
Same problem :-/ Anyone know if this is a bug or an intended behaviour?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to Shortcuts launches app instead of calling Intents Extension
@fraserh I'm experiencing the same issue. Have you found any solution for this?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to Memory Leak & Slow Down in SwiftUI for MacOS
I can confirm that SwiftUI does not clean up something when view's state changes on macOS. In my app, I change view's state on each mouse move and I can see the allocated memory climbing up and up as I move the mouse around. The worst is that it's not just an issue of the memory. The app is also getting slower and slower - presumably because SwiftUI keep doing unnecessary work. Sample view: @State private var hoverX: CGFloat = 0.0 var body: some View {           Color.blue.frame(width: 50, height: 50)     .offset(x: hoverX, y: 0)      .onMouseMove { point in         hoverX = point.integral.x      } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21