Conforms to NSObject
Declared in NMBFolderController.h

Overview

The instance confirms this protocol is responsible to be notified when the files promises or files in the NMBFolderController changed. The usage of this protocol is much like NSFetchedResultsControllerDelegate’s.

Instance Methods

controller:didChangeObject:atIndexPath:forChangeType:newIndexPath:

Notifies the receiver that a file promise or file has been changed due to an add, remove, move, or update.

- (void)controller:(NMBFolderController *)controller didChangeObject:(id)anObject atIndexPath:(NSIndexPath *)indexPath forChangeType:(NSFetchedResultsChangeType)type newIndexPath:(NSIndexPath *)newIndexPath

Parameters

controller

The folder controller that sent the message.

anObject

The file promise or file contained by controller that changed.

indexPath

The index path of the changed object (this value is nil for insertions).

type

The type of change. For valid values see “NSFetchedResultsChangeType.”

newIndexPath

The destination path for the object for insertions or moves (this value is nil for a deletion).

Declared In

NMBFolderController.h

controller:didChangeSection:atIndex:forChangeType:

Notifies the receiver of the addition or removal of a section.

- (void)controller:(NMBFolderController *)controller didChangeSection:(id<NSFetchedResultsSectionInfo>)sectionInfo atIndex:(NSUInteger)sectionIndex forChangeType:(NSFetchedResultsChangeType)type

Parameters

controller

The folder controller that sent the message.

sectionInfo

The section that changed.

sectionIndex

The index of the changed section.

type

The type of change (insert or delete). Valid values are NSFetchedResultsChangeInsert and NSFetchedResultsChangeDelete.

Declared In

NMBFolderController.h

controllerDidChangeContent:

Notifies the receiver that the folder controller has completed processing of one or more changes due to an add, remove, move, or update.

- (void)controllerDidChangeContent:(NMBFolderController *)controller

Parameters

controller

The folder controller that sent the message.

Declared In

NMBFolderController.h

controllerWillChangeContent:

Notifies the receiver that the folder controller is about to start processing of one or more changes due to an add, remove, move, or update.

- (void)controllerWillChangeContent:(NMBFolderController *)controller

Parameters

controller

The folder controller that sent the message.

Declared In

NMBFolderController.h