Post

Replies

Boosts

Views

Activity

Comment on Freshly inserted data through REST-request only displayed after reopening the view
@bergersilvio DataService needs to be a class for it be an @ObservableObject. Can you try storing dataPoints directly inside DataService and ensure it is @Published? I feel that should help. If that doesn't work if it is ok with you could commit your code (or take a backup) then comment out all unnecessary portions till you can come down to a minimum reproducible code. Commenting out will help you isolate the issue. Then you could create a simple POC so that others can test.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’22
Comment on Logger on Xcode console
@eskimo Thanks a lot! well written article and I like the reference to friendship. Definitely the advantages to using Logger far outweigh the my small preferences. So I will stick with the logger. My wish list is Xcode some day provides a way to customise how these messages are being displayed (more around timestamp being wrapped). It is definitely a priority .... a nice to have. Definitely console app does a good job in the meantime. Thanks once again
Nov ’22