Open Metman opened 6 years ago
Maybe FRC update table view incorrect. I have 2 section in FetchedResultController. After deleting on first device, on second device app crashed and i see new section on logs.
Sorry for my bad English.
@Metman Hi. Offtopic, but I can see you have taken my code for migration. There is critical error for iOS 8-9: if seamStoreExists { ... try coordinator.addPersistentStore(ofType: NSSQLiteStoreType, configurationName: nil, at: newURL, options: options)
There should be SMStore.type instead of NSSQLiteStoreType.
Hello Denis. Thank you :). I edided my code. Do you using FetchedResultController? Sync correct after deleting?
PS Предположу что вы говорите по-русски. После удаления новая секция создается с пустым объектом :)
@Metman Can you give me your email to discuss?
Yes. metallomaniac666@me.com
Hello Paul! Thank you for library :)
I have problem with sync. If I delete record on first device and will open app on second device, my app will crash. Because Fetched Result Controller get deleted object, but object empty, all property is nil.
My AppDelegate :
I have this code for refresh TableView: