Post

Replies

Boosts

Views

Activity

Reply to What would happen if I add an index to a record type into production that wasn't there before in CloudKit?
I found the following here: Designing and Creating a CloudKit Database. Important During development, you can change your schema as much as you want, but once it’s deployed to production, you can’t delete any part of it. You can only make additive changes, such as adding a new field to a record type, or adding new record types. This still doesn't tell me if I can add or remove indices to record types after production. I would need less to remove indices than to add indices.
Jun ’22
Reply to What would happen if I add an index to a record type into production that wasn't there before in CloudKit?
Again I find this: The Development and Production Environments After you deploy the schema to the production environment, you can still modify the schema in the development environment but can’t delete record types and fields that were previously deployed. This still doesn't specifically tell me exactly what I want to know.
Jun ’22
Reply to Does synchronous mean that by definition it is run on and called from separate threads, or does it have to be that way because of the way things are?
Apple documentation says that Operations run synchronously. Why then does the code continue to run after an operation is added to a queue? Here is my code: let op = BlockOperation(block: { print("Done") }) let qu = OperationQueue() qu.addOperation(op) print("after!") Here is the debug results: after! Done
Jul ’22
Reply to Does a parent record in CloudKit have to be in the same CKDatabase as a child record?
I don't think it's possible to save a record in one database and another record in a different database at the same time, so the parent record and the child record I mention in my post would have be saved in different lines of code. I think. I don't think it is possible to save two records in two different databases using CKModifyRecordsOperation. I don't know if there is a way at all.
Aug ’22
Reply to Hit Breakpoint running Playground
Has anything changed about this? I'm actually in Playground, not Playground in Xcode, and I am able to set breakpoints in a file in the Source folder, but code execution doesn't stop at the breakpoints. I know the code runs to those points, because there are print statements that print into the debug area that are placed between those breakpoints.
Oct ’22