Post

Replies

Boosts

Views

Activity

Comment on Can not ForEach Int Array in Dictionary
Note: Text("---> (i)") should be Text("---> (notedNumbersKey[i])")
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on Can not ForEach Int Array in Dictionary
what does OP stands for?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on Can not ForEach Int Array in Dictionary
it's probably because notedNumbers[key] returns an Optional.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on MapAnnotations move when Keyboard is opened
yes sorry, the problem is still there when panning, seems to be a bug.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on onTapGesture conflicts with button
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on SwiftUI Undo/Redo Buttons for TextEditor/Keyboard
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".
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on Integrating NWCAT into SwiftUI
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Comment on SwiftUI. Navigation toolbar not working after dismissing modal
have you tried puting the sheet outside the toolbar? It may make a difference.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21
Comment on SwiftUI Map mapType hybrid / satellite - possible?
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on SwiftUI Map mapType hybrid / satellite - possible?
show us your code, maybe there is a solution to your issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on SwiftUI toolbar disappears after navigation on iOS
maybe this "bug" has been fixed, because it works well for me, on macos 12.beta5, xcode 13.beta5, target ios 15 and macCatalyst.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Identifiable ID
he did say "... JSON from my backend"
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on swipeActions on macOS?
just great, the code you posted is not the code you used or the subject of the question.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Suppressing verbose console output - SwiftUI / MacOS Monterey
comment deleted
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Macos 12 not available after update to Xcode to Version 13.0 (13A233)
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.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21