You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not coming
Sync Performed
Sync Performed Successfully
Could not cast value of type '_NSCoreDataTaggedObjectID' (0x10784df60) to 'NSManagedObject' (0x10784e9b0).
Therefore in this context we get crash:
// MARK : Fetch Requestfunc executeInResponseToFetchRequest(fetchRequest:NSFetchRequest,context:NSManagedObjectContext)throws->NSArray{letresultsFromLocalStore=tryself.backingMOC.executeFetchRequest(fetchRequest)
if resultsFromLocalStore.count >0{returnresultsFromLocalStore.map({(result)->NSManagedObject in
letresult= result as!NSManagedObject<-- CRASH
The text was updated successfully, but these errors were encountered:
I see crash in
executeInResponseToFetchRequest
where it expectsNSManagedObject
but it getsNSManagedObjectID
instead...I am bridging MagicalRecord with Seam so I assume this may be the cause of me doing something wrong... or maybe not.
This is my current implementation which is simply uses Seam store, everything else is left intact:
https://gist.github.com/pronebird/1a6db53e6f75e7baf109
Log:
Therefore in this context we get crash:
The text was updated successfully, but these errors were encountered: