Seam3 icon indicating copy to clipboard operation
Seam3 copied to clipboard

Delete object from iCloud

Open danielmekis opened this issue 7 years ago • 1 comments

Hello, I have a little problem. When I delete an element, it will be removed from the collectionView but after 3 sec it loads back from the cloud.

if let notebook = fetchedResultsControllerNotebook?.object(at: IndexPath(row: i, section: 0)) { managedObjectContext.delete(notebook) coreDataStack.saveContext() projectsCollectionView.reloadData() }

What did I wrong?

danielmekis avatar Jan 05 '18 09:01 danielmekis

I can't replicate this. Does it work if you refresh the fetched results controller?

paulw11 avatar Jan 08 '18 01:01 paulw11