Post

Replies

Boosts

Views

Activity

Comment on The compiler is unable to type-check this expression in reasonable time in Xcode 12 with SwiftUI Error in SwiftUI
Since the question, I have already corrected the tick variable to idx, but thank you for your comment!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Is DragGesture buggy or am I messing something up?
Thank you very much for your help, it works well!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on How to remove space occupied by text's on swiftui
I noticed that there is an empty space because of my two texts if the isEditMode is true, I reconsidered the question.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on How to remove space occupied by text's on swiftui
Added the two texts to the post.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on How to remove space occupied by text's on swiftui
I dont know why, but the opacity wasn't enough, the texts took the same space on the view, just disappeared.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Extra argument 'selection' in call error in ListView.
+1 How to get the selected item's id?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Extra argument 'selection' in call error in ListView.
Ohh sry for my extra questions, next time i'll close the thread and start a new one. I would like to share the selection var to an other view, bc I would like to delete the selected one. I need the id, bc my delete function delete by id now.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Extra argument 'selection' in call error in ListView.
I just call the delete function by the last element's index right now, I tested the function in this way. Now I need to get the selected item's id, and i'll delete that.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Why is my List elements are deleted if I ON/OFF darkmode.
Thanks for your answer, but I cant use @StateObject, because I use Swift UI v.1.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on My Toggle doesn't work the way I want it to
I'm sorry that I write only now, thanks for your help, the Toggle works now.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23