python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
SwiftUI @AppStroage - 'Simultaneous accesses to *, but modification requires exclusive access'
In my project I was dealing with this issue. After many hours, I was able to track down the causes and reduce them into a small demo, but do not understand the real issue. As you can see in the below...
hidden-username
Votes: 0
Answers: 1
Why would an init cause a NavigationLink to fail in Swiftui?
I have two pieces of test code to check that things worked out. Basically I wanted to navigate from one view to a specific tag on a TabView page. Everything worked out until I put an init in the desti...
monkeyBoy
Votes: 0
Answers: 0
Conditional onTapGesture in SwiftUI
I have a navigation link and I need a different behavior when its label (MyView) is tapped depending on the edit mode (or any other condition):
If we are not in edit mode, I want to trigger the navig...
Mischa
Votes: 0
Answers: 4
navigationLink to tag in another view
Here's an edited version of the question. I'm working in Swiftui and I have two views. The first has two NavigationLinks. The second link is where I get stuck. I would like that link to go to 'tabTwo'...
monkeyBoy
Votes: 0
Answers: 0