Post

Replies

Boosts

Views

Activity

Comment on CKContainer shareParticipant() 'missing' nameComponents
Any more feedback on this? The sample App works as expected. But, it is only after a share has been accepted by another that I have access of MY and THEIR nameComponents. I'd like to get the User's nameComponents when my app starts that very first time and the user has accepted iCloud access. See the OP code at 'more directly' - why does that not produce a populated nameComponents? Thank you.
Topic: App & System Services SubTopic: iCloud Tags:
Nov ’24
Comment on CKContainer shareParticipant() 'missing' nameComponents
If, on the main screen, I tap 'Manage Shares' and then select the share and then select 'Manage Participants', the resulting Participants overlay screen shows no participants. If instead I select 'Manage With UICloudSharingController' I see both participants ('Me' and 'Owner') So, the share's participants have a PersonNameComponents value w/ the names filled in. But... /2
Topic: App & System Services SubTopic: iCloud Tags:
Oct ’24
Comment on CoreData+CloudKit w/ Large Public Database
Saying Location was an example; it is a more complicated data structure, associated with a location. However, truth be told, I've not get a definitive size of the entire database. Another aspect is that locations are meant to be crowd-sourced during use of the app. Sounds like it would work to keep the data in the CloudKit .public database AND simply let it sync fully to CoreData in the App on first startup. And then track changes, which would be minor. Is that a viable approach?
Topic: App & System Services SubTopic: iCloud Tags:
Jan ’24
Comment on Understanding the warning and how to fix it: Non-sendable cannot cross actor boundary
How does CKRecord to Struct solve the problem? You cross the CK interface, providing CKRecord, CKSubscription, etc and it is that interface that you must await on. It seems your other comment "@unchecked Sendable" is the only solution? Or perhaps you could add extensions to CloudKit to define some 'shadow functions' that mark the non-sendable parameters as isolated; but, this could get tedious and won't work on returned values.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’23
Comment on CKContainer shareParticipant() 'missing' nameComponents
Any more feedback on this? The sample App works as expected. But, it is only after a share has been accepted by another that I have access of MY and THEIR nameComponents. I'd like to get the User's nameComponents when my app starts that very first time and the user has accepted iCloud access. See the OP code at 'more directly' - why does that not produce a populated nameComponents? Thank you.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Nov ’24
Comment on CKContainer shareParticipant() 'missing' nameComponents
If, on the main screen, I tap 'Manage Shares' and then select the share and then select 'Manage Participants', the resulting Participants overlay screen shows no participants. If instead I select 'Manage With UICloudSharingController' I see both participants ('Me' and 'Owner') So, the share's participants have a PersonNameComponents value w/ the names filled in. But... /2
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on CKContainer shareParticipant() 'missing' nameComponents
Long tap on the participant side brings up a contextual menu - that menu does not have a 'Participants' item, it does have 'Manage Participation'. If I tap that I see the names of the two participants with 'Me' and the 'Owner'. Fullnames are shown. If I expand 'Me' I see my phone number; if I expand 'Owner' I see their email address. /1
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’24
Comment on CoreData+CloudKit w/ Large Public Database
Saying Location was an example; it is a more complicated data structure, associated with a location. However, truth be told, I've not get a definitive size of the entire database. Another aspect is that locations are meant to be crowd-sourced during use of the app. Sounds like it would work to keep the data in the CloudKit .public database AND simply let it sync fully to CoreData in the App on first startup. And then track changes, which would be minor. Is that a viable approach?
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jan ’24
Comment on Understanding the warning and how to fix it: Non-sendable cannot cross actor boundary
How does CKRecord to Struct solve the problem? You cross the CK interface, providing CKRecord, CKSubscription, etc and it is that interface that you must await on. It seems your other comment "@unchecked Sendable" is the only solution? Or perhaps you could add extensions to CloudKit to define some 'shadow functions' that mark the non-sendable parameters as isolated; but, this could get tedious and won't work on returned values.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’23