NSFetchedResultsControllerDelegate in a second view controller (not firing?)
Posted
by MTBPatriot
on Stack Overflow
See other posts from Stack Overflow
or by MTBPatriot
Published on 2010-04-14T02:00:53Z
Indexed on
2010/04/14
2:03 UTC
Read the original article
Hit count: 385
I am running into an issue similar to the one described here: http://stackoverflow.com/questions/1319940/nsfetchedresultscontrollerdelegate-not-firing (the delegate for my NSFetchedResultsControllerDelegate are not being called on my second view controller)
I can't seem to get the proposed solutions to work. I have a main view that loads information from Core Data just fine, but when it pushes a separate controller (and passes the managed object to it), the delegate methods won't fire. I've read about 'mergeChangesFromContextDidSaveNotification' but I don't understand how to synchronize the two manage objects and/or get the delegate methods to be called.
Any help would be greatly appreciated. Thank you, Mike
© Stack Overflow or respective owner