Search found 16 matches

by pistoleta
Tue Jan 26, 2021 2:14 pm
Forum: Questions
Topic: Shouldn't this callback receive an array of NSErrors?
Replies: 2
Views: 92

Re: Shouldn't this callback receive an array of NSErrors?

Okay, understood.
For the moment I was just messing with batched operations to see if they worked fine but it's not like we need them, at least for now.
But it's good to know.
Thanks!
by pistoleta
Tue Jan 26, 2021 10:53 am
Forum: Questions
Topic: Shouldn't this callback receive an array of NSErrors?
Replies: 2
Views: 92

Shouldn't this callback receive an array of NSErrors?

Image

I was trying to implement the batch record modification but I see the callback is just receiving 1 NSError, shouldn't be an array ?
by pistoleta
Mon Jan 18, 2021 5:07 pm
Forum: Questions
Topic: How to use NSSortDescriptor
Replies: 2
Views: 88

Re: How to use NSSortDescriptor

Thanks, we really need it since we are creating sort of a top high score, (with different data as score to sort) and from there we want to access other public records related to that one.
by pistoleta
Fri Jan 15, 2021 6:54 pm
Forum: Questions
Topic: How to use NSSortDescriptor
Replies: 2
Views: 88

How to use NSSortDescriptor

Hello I'm trying to create a query sorting by one field and I've seen you have the class NSSortDescriptor for it,
but it asks for a NSCoder that I dont know where I should take from, and I cannot create neither.
Could you give some details of how to proceed on this?
Thanks
by pistoleta
Fri Jan 15, 2021 6:08 pm
Forum: Feedback and Feature Requests
Topic: record.DateTimeForKey implementation
Replies: 1
Views: 70

record.DateTimeForKey implementation

Would it be too much of a hassle to implement this?
Right now we are using strings to represent DateTimes in CloudKit since there's no way to retrieve a date time from the CKRecord.
Thanks!
by pistoleta
Fri Jan 15, 2021 1:28 pm
Forum: Questions
Topic: Discord server for Unity-iOS devs
Replies: 1
Views: 66

Discord server for Unity-iOS devs

This is a server with the purpose of sharing knowledge about Unity-iOS development. As you might have notice there's scarce information about CloudKit and other iOS services and is really hard to find. If you want to be up to date and would like to share knowledge between other devs feel free to joi...
by pistoleta
Mon Jan 04, 2021 6:39 pm
Forum: Questions
Topic: Queries and predicates doubt
Replies: 4
Views: 243

Re: Queries and predicates doubt

No its not important, I simply created a queryable field in the register and I use that field to retreive them in the query.
If another use case comes up where this is an inconvenience I will let you know but for the moment it's fine.
Thanks
by pistoleta
Mon Dec 21, 2020 6:38 pm
Forum: Questions
Topic: Queries and predicates doubt
Replies: 4
Views: 243

Re: Queries and predicates doubt

I think the problem is we can just use predicates as strings. But seeing how they query a register by it's name we need to use a registerID var (which is a CKReference) inside the predicate, and I guess we can't. This is how they do it: let reference = CKReference(recordID: userID, action: .None) le...
by pistoleta
Fri Dec 18, 2020 10:39 am
Forum: Questions
Topic: Queries and predicates doubt
Replies: 4
Views: 243

Queries and predicates doubt

I have records of type "Image" and Im trying to query some of those records on a query. Those records have custom names "image1" , "image2"..... So I'm trying to query them by the register name, and I've read you are supposed to do that using recordID in the predicate. But when I try to do it I get ...
by pistoleta
Tue Nov 24, 2020 10:43 am
Forum: Feedback and Feature Requests
Topic: CKError retry after seconds
Replies: 4
Views: 297

Re: CKError retry after seconds

Not receiving any error message of that kind.
But I have been watching all the WWDC videos from the '14 one and on error handling they talk about how to handle them well using this method,
and since it may happen in a near future I would rather to be ready.