Hi,
I have a scenario where the button has multiple states such as
Available, Pressed, Accepted and Cancelled with corresponding textual appearances. When the button is clicked in the Available state, I make a web api call and change the button state to Pressed. Depending on the api request the state changes to accepted and cancelled.
I can accomplish the task using uikit and completion handlers, but can you suggest a way to handle the scenario using swiftui and combine (or similar)?
Thanks
Post
Replies
Boosts
Views
Activity
Hi,
I have a public cloudkit database that I use in the app with core data. In the iOS app, when the user deletes a row, I hide the corresponding row rather than deleting, so the record remains in the cloudkit.
Right now, I remove the records from cloudkit dashboard manually. Is there a way to remove the records in the public cloudkit database programmatically from outside the app.
Thanks.
After the local and public database sync is done, I am trying to modify an attribute of an object which I access thru one to many relationship. Then, I save the context. This object is created by another user.
The local change does not update the public database. Is this a limitation of public database? Can it be because the object is created by another user?