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 Xcode Cloud MacBook Question
Xcode Cloud is a CI (Continuous Integration) / CD (Continuous Delivery) tool, basically you can build and ship builds conveniently (to both beta testers and push it to App Store). It has nothing to do with the simulator, it will create these builds so that beta testers / App Store. I think you are confusing Xcode Cloud with testing
Jun ’22
Comment on Cannot debug widget in a watch target using Xcode 14.1
@pabloconnell hope that helps
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Freshly inserted data through REST-request only displayed after reopening the view
@bergersilvio, I meant in your SwiftUI code use only @Published properties don't use something like DATA.depots.dataPoints use DATA.dataPoints instead. Good luck
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
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:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Widgets won't preview
is this on macOS? On macOS I am facing issues as well with widget previews, iOS widget previews are ok. Use the following modifier ..previewContext(WidgetPreviewContext(family: .systemSmall))
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on How to make Xcode Cloud compile code compiled in Xcode beta ?
I was asked to get in touch with https://developer.apple.com/contact/, I was quite busy with other work that I couldn't contact them. You could contact them. If you happen to find a solution post it
Replies
Boosts
Views
Activity
Oct ’22
Comment on What build setting causes `PreviewProvider`s to be stripped when archiving?
Please read my suggestion below for Apple to come up with a property wrapper to mark SwiftUI preview structs. Hopefully it gets fixed. Currently there is a lot of code with #if DEBUG <…> #endif
Replies
Boosts
Views
Activity
Sep ’22
Comment on CoreData CloudKit sync resulting in main thread initialisation issue
If you want it to run on the main thread, why don't you mark it as @MainActor (Swift Concurrency)?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on NavigationSplitView sidebar Links not working after navigating back
@xcor could you post the workaround code, I tried setting it nil but didn't seem to work for me, not sure I am missing something
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on NavigationSplitView sidebar Links not working after navigating back
@BabyJ Xcode Beta 2 release notes doesn't contain any mention of NavigationSplitView and yet it still occurs in Xcode Beta 2. Was the above quote taken from Xcode Beta 1? Just wondering if we should file feedback.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Revert Xcode Simulator to the default setting
Sorry I was so lost, that I didn't realise that the rectangular title bar was the new standard, I thought it had appeared because of me executing the command .. :D
Replies
Boosts
Views
Activity
Jun ’22
Comment on Xcode Cloud MacBook Question
Xcode Cloud is a CI (Continuous Integration) / CD (Continuous Delivery) tool, basically you can build and ship builds conveniently (to both beta testers and push it to App Store). It has nothing to do with the simulator, it will create these builds so that beta testers / App Store. I think you are confusing Xcode Cloud with testing
Replies
Boosts
Views
Activity
Jun ’22
Comment on NavigationSplitView not working as shown in "What's new with SwiftUI" session
Nice find!! will help a lot of others!!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on I can't use update with scrum. How can I fix this?
I feel it would be best to create a feedback via the Feedback Assistant app, you can create feedbacks for tutorials / websites / documentation. I think @Claude31 would know better what option to choose. Your feedback would help others who are learning swift
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on keyboard can't be popped up in live preview mode
Thanks a ton!! Saved my day!!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Xcode 13.2 - Internal error : Missing Package Description Module
For me I accessed it via the direct Github URL in the search box, it asked me if I wanted to trust it, after clicking on "Trust" it seemed to add it. Definitely a bug though.
Replies
Boosts
Views
Activity
Dec ’21