Post

Replies

Boosts

Views

Activity

Comment on JSON DATA CORRUPTED ERROR
When you post the code for "DisplayPreferenceView", use "Paste and Match Style", to avoid all the extra blank lines.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on JSON DATA CORRUPTED ERROR
When you post the code for "PeopleView", use "Paste and Match Style", to avoid all the extra blank lines.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on JSON DATA CORRUPTED ERROR
There is nothing wrong with the json that you have shared here. Your other code shared here also works okay. So your json error and app crash are caused by something that you have not yet shared.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Why is the Button not working? SwiftUI
Ah, you did not mention Live Preview Canvas in your question. "print" statements will not log to the Console from that.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on I can’t see the images leaving some even if I name them the same even if I run it or use simulator it’s the same.
Get it running with unique images, then ask a new question about how to repeat images.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on I can’t see the images leaving some even if I name them the same even if I run it or use simulator it’s the same.
You cannot remove the id. Use different images. Read the documentation on ForEach.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on SwiftUI How to pass a CoreData object to an other view
Normally, the timer would live in your ViewModel, assuming that you are using MVVM. Do you have a new question? If so, mark the correct answer for this question, and create a new post.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Problems updating a variable
If we've fixed the first question, I suggest you mark the correct answer, then post your new question.
Replies
Boosts
Views
Activity
Jan ’22
Comment on Swift: How to add 47 Bool filter to json List
If it works fine now, then... done.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on SwiftUI opacity animation fails in Gesture's onEnded method
Hmm...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Problems updating a variable
(You should also remove the second "tagUID = "(UID)", just keep the one in the Dispatch async closure.)
Replies
Boosts
Views
Activity
Jan ’22
Comment on Swift: How to add 47 Bool filter to json List
You could put the Bools in an array, and iterate through them.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on ScrollViewReader ignores safeAreaInset on macOS?
Rabbit hole indeed... good work!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on ScrollViewReader ignores safeAreaInset on macOS?
Hmm... I don't know. It's an interesting one. I may try again later...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on ScrollViewReader ignores safeAreaInset on macOS?
I think it might be to do with safeAreaInset...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22