Post

Replies

Boosts

Views

Activity

Comment on Understanding the warning and how to fix it: Non-sendable cannot cross actor boundary
The more I look into this, the more I disagree with you. CKRecord is not sendable. The way to go, I think, is to create a struct with the fields from the CKRecords. Then pass the struct but make sure it's sendable. I have started to do this and it's clearing warnings. I have a CKMethods protocol. I think the way to go is to pass the stunt into the protocol's methods and get a struct from the protocol. Converting from CKRecord to Struct and from Struct to CKRecord.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’23
Comment on Cannot Download Xcode 13.2 beta
Thanks. Misery enjoys company they say.
Replies
Boosts
Views
Activity
Oct ’21
Comment on Apple CloudKit async function Doesn't Look Right
Got it, thanks!
Replies
Boosts
Views
Activity
Jan ’22
Comment on Navigation bar issues on watchOS 7 Beta 6
I'm having the same issue. I'm using Xcode 13.4.1 on an Apple Silicon Mac. Has anybody found the answer to this problem? Btw, the Landmarks SwiftUI example has the same issue, using the code that was issued by Apple.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on NavigationStack and NavigationSplitView Runtime warnings
I'm going to put this in a separate issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on Xcode Apple Watch Ultra via iPhone: Failed with HTTP status 403: forbidden
I uploaded the sysdiagnose file from the Mac and the co-sysdiagnose file from the Apple Watch to my bug report.
Replies
Boosts
Views
Activity
Sep ’22
Comment on Mistake in Wayfinder Watch Face for Apple Watch Ultra?
It's in degrees, minutes, seconds and not in decimal. I'll definitely add that in the bug report.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Comment on Understanding the warning and how to fix it: Non-sendable cannot cross actor boundary
Turned on that is.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
Comment on Understanding the warning and how to fix it: Non-sendable cannot cross actor boundary
The more I look into this, the more I disagree with you. CKRecord is not sendable. The way to go, I think, is to create a struct with the fields from the CKRecords. Then pass the struct but make sure it's sendable. I have started to do this and it's clearing warnings. I have a CKMethods protocol. I think the way to go is to pass the stunt into the protocol's methods and get a struct from the protocol. Converting from CKRecord to Struct and from Struct to CKRecord.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’23
Comment on Please Create a Sendable Version of CKRecord or Make CKRecord Sendable
Yes, I realize that I can @uncheck Sendable, but I wonder if that will last. Perhaps one will not be able to do this in the future. Yes, I realize that Data and String is Sendable.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Please Create a Sendable Version of CKRecord or Make CKRecord Sendable
I'm marking your answer as correct and will file an enhancement request. I am also putting in the hours to do the conversion to Model files and it's working, but I am far from being done. I'll probably be done before anything is done on my request and that is understandable. Besides the data model structs are a clean fix.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Core Data Plus CloudKit - Potential Issue / Question about Binary Data w/ External Storage
My thoughts on this is that CKAssets can hold a larger amount of data than Bytes. I wonder if there will be issues holding image data. That's why I asked.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Core Data Plus CloudKit - Potential Issue / Question about Binary Data w/ External Storage
I'll just let CloudKit handle it. I don't want to mess with the CloudKit data directly.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Xcode Automatically Managing Signing Yet Invalid Profile
Well done! That fixed my problem as well. I am marking this complete.
Replies
Boosts
Views
Activity
Apr ’23
Comment on Xcode Version 15.0 beta 5 (15A5209g), SwiftData Problem - "The given data was not valid JSON."
Please file a feedback.
Replies
Boosts
Views
Activity
Jul ’23
Comment on Xcode Version 15.0 beta 5 (15A5209g), SwiftData Problem - "The given data was not valid JSON."
Please file a feedback.
Replies
Boosts
Views
Activity
Jul ’23