Post

Replies

Boosts

Views

Activity

Comment on A navigationDestination for <App.Entity> was declared earlier on the stack. Only the destination declared closest to the root view of the stack will be used.
thanks, that worked. I'd been splitting out each section on a list to a separate struct file each with their own navigationDestinations so it makes it a bit messy to do this way but that definitely gets rid of the errors and makes scrolling a lot smoother, so looks like ill need to find a better design pattern.
Aug ’22
Comment on Calling actor method from another actor
thanks. I ended up implementing a custom queue in the first actor to manage and queue the 'async' calls to the second actor. A decent amount of code, would be nice if actors had some standard functionality to do something like this, as the custom queue has quickly become boilerplate code in almost all of my actors now.
Sep ’22
Comment on Guys I dont know what I am doing here.
effort sounds about right for someone who can already develop swift macOS apps. Some of those requirements are quite involved, and at first glance may only be possible (or not possible) with some cutting edge research/tech and may take significantly longer than expected as far as effort goes. If u want corporate style governance, you will need to pay corporate style prices if anyone is going to do that.
Sep ’22
Comment on SwiftUI NavigationLink freezing when tapped
further on this. I was able to stop the freezing on all of my use cases now with .id(UUID()). needed it on all NavigationLinks and some Lists where there was still freezing. not a full fix because setting .id(UUID()) on a List makes it reload every time it appears which is annoying for users when the list takes time to reload (as in my case). a couple of NavigationLinks needed a static id like .id("someid"), some needed .id(UUID()). not sure why. hopefully gets fixed in the sdk as some point.
Nov ’22