NSFetchedResultsController: Múltiples FRC, error de delegado al actualizar

Objetivo: Usando FRC, ordenarSection's porstartDate, unNSDate atributo, pero quieroTodayfecha deSection aparecer antesUpcoming fechasSection.

Seguí el código de Apple usando una propiedad transitoriasectionIdentifier. Código de muestra de Apple. y comencé con este proyecto primero:OneFRC

Pronto me di cuenta de que esto puede no ser posible con solo un FRC (podría estar equivocado).

Luego, decidí probar esto con 3 FRC: ThreeFRC.

TableViewsections ahora aparece en la Orden que quiero:

Sección 0:Today

Sección 1:Upcoming

Sección 2:Past

Sin embargo, agregar datos desencadena delegados de FRC y aparece el siguiente error:

CoreData: error: Serious application error.  An exception was caught from the 
delegate of NSFetchedResultsController during a call to 
-controllerDidChangeContent:.  Invalid update: invalid number of rows in section 0.
The number of rows contained in an existing section after the update (4) must be 
equal to the number of rows contained in that section before the update (3), plus 
or minus the number of rows inserted or deleted from that section (0 inserted, 
0 deleted) and plus or minus the number of rows moved into or out of that section 
(0 moved in, 0 moved out). with userInfo (null)

Nuevamente, me encantaría poder lograr mi objetivo con 1 FRC, pero parece que no puedo entender cómo.

¡He estado tratando de resolver esto por 4 días ahora! Si este problema no se resuelve en SO, creo que puedo comunicarme con Apple para obtener asistencia para desarrolladores. Y en caso de que lo haga, publicaré la resolución aquí para que otros puedan beneficiarse.

Los proyectos están disponibles en Github:

Un FRC

Tres FRC

EDITAR

Gracias a @blazejmar, pude deshacerme delrows error. Sin embargo, ahora aparece un error cuando intento agregarsections.

2014-11-03 16:39:46.852 FRC[64305:60b] CoreData: error: Serious application error.  
An exception was caught from the delegate of NSFetchedResultsController during a 
call to -controllerDidChangeContent:.  Invalid update: invalid number of sections.  
The number of sections contained in the table view after the update (2) must be 
equal to the number of sections contained in the table view before the update (1), 
plus or minus the number of sections inserted or deleted (0 inserted, 0 deleted). 
with userInfo (null)

Pasos para reproducir el error en Three FRC:

1. Launch App -> 
2. Tap Generate Data -> 
3. Tap View in FRC -> 
4. Tap back to the RootVC ->
5. Change the system date to a month from Today -> 
6. Tap View in FRC and only one section `Past` should appear. -> 
7. Tap `Add Data`.  
8. The error should appear in the log. 

Respuestas a la pregunta(2)

Su respuesta a la pregunta