mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
ObjectMonitor no longer sending didUpdateObject: changedPersistentKeys: #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PaulWoodIII on GitHub (Aug 20, 2015).
I'm on the xcode7 alpha branch and following you while you work, so I understand if you are going to get to it but my ObjectMonitor is no longer receiving this callback.
I looked into the NSFetchedResultsController used for the ObjectMonitor and instead of .Update its sending a .Move NSFetchedResultsChangeType. I think thats where I'll start in my debugging of this
@JohnEstropia commented on GitHub (Aug 21, 2015):
I'm currently fighting with this as well, but this is not just a problem in the ios7_support_alpha branch. This also happens on any branch built with the iOS 9 SDK and only on iOS 9 devices/simulators, so it's either a bug on iOS 9, a bug on the latest XCode, or an inteded behavior change we may need to handle with
if #available()'s.@JohnEstropia commented on GitHub (Aug 21, 2015):
Seems related: https://forums.developer.apple.com/thread/4999
@JohnEstropia commented on GitHub (Aug 23, 2015):
@PaulWoodIII I pushed a temporary fix for ObjectMonitor so that it will somehow still be usable. A couple of problem still persists:
UITableView.endUpdates()to fire an assertion failure if no other UITableViewCell updates were made afterUITableView.beginUpdates().We'll need to wait how Apple fixes this bug on the next XCode build. You can follow updates from this thread: https://forums.developer.apple.com/thread/4999
@PaulWoodIII commented on GitHub (Aug 23, 2015):
thanks @JohnEstropia I'll test things out this afternoon myself