mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-13 23:23:29 +01:00
[PR #16] [MERGED] Fix FRCdelegate issue where invalid type is passed #447
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?
📋 Pull Request Information
Original PR: https://github.com/JohnEstropia/CoreStore/pull/16
Author: @mac-cain13
Created: 10/6/2015
Status: ✅ Merged
Merged: 10/6/2015
Merged by: @JohnEstropia
Base:
develop← Head:patch-1📝 Commits (1)
d33aa9cFix FRCdelegate issue where invalid type is passed📊 Changes
1 file changed (+7 additions, -0 deletions)
View changed files
📝
CoreStore/Internal/FetchedResultsControllerDelegate.swift(+7 -0)📄 Description
See also https://forums.developer.apple.com/thread/12184#31850
In my project
NSFetchedResultsControllerstarts throwing usNSFetchedResultsChangeTypes that are of value0. This is not a valid value, if you switch overtypewhen this occurs the first case is executed. Causing strange behavior and fatal application errors.The current "dance" to avoid FRC issues is not enough, I'm affraid we have to add this extra check to avoid these issues.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.