Note: Text("---> (i)") should be Text("---> (notedNumbersKey[i])")
Post
Replies
Boosts
Views
Activity
what does OP stands for?
it's probably because notedNumbers[key] returns an Optional.
yes sorry, the problem is still there when panning, seems to be a bug.
no worries then, just wrap the content of .onTapGesture {...} with "DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { ...} . It's a bit of a hack but should work.
I'm glad it helped. What functionality are you looking for?, given that your question was "I'm asking how to implement simple Undo and Redo buttons in this TextEditorView for the iPhone specifically".
You could use an alternative to nwcat code.
There are some good modern networking Swift packages on github, such as Alamofire and
Networking from freshOS that may be of help, including the JSON decoding.
have you tried puting the sheet outside the toolbar? It may make a difference.
sorry, I misread your question, even though it is in big letters, "SwiftUI Map()". I pasted my answer for UIViewRepresentable in haste. Unlike most other forum, I cannot find a way to delete my answer.
show us your code, maybe there is a solution to your issue.
maybe this "bug" has been fixed, because it works well for me, on macos 12.beta5, xcode 13.beta5, target ios 15 and macCatalyst.
he did say "... JSON from my backend"
just great, the code you posted is not the code you used or the subject of the question.
comment deleted
do you know how/where I can download the "previous older" beta, as I said I just deleted mine by mistake, and that version use to work well.