FetchedRecordChange

public enum FetchedRecordChange

A record change, given by a FetchedRecordsController to its change callback.

The move and update events hold a changes dictionary, whose keys are column names, and values the old values that have been changed.

  • An insertion event, at given indexPath.

    Declaration

    Swift

    case insertion(indexPath: IndexPath)
  • A deletion event, at given indexPath.

    Declaration

    Swift

    case deletion(indexPath: IndexPath)
  • A move event, from indexPath to newIndexPath. The changes are a dictionary whose keys are column names, and values the old values that have been changed.

    Declaration

    Swift

    case move(indexPath: IndexPath, newIndexPath: IndexPath, changes: [String: DatabaseValue])
  • An update event, at given indexPath. The changes are a dictionary whose keys are column names, and values the old values that have been changed.

    Declaration

    Swift

    case update(indexPath: IndexPath, changes: [String: DatabaseValue])