mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-19 07:54:26 +01:00
WIP: documentation
This commit is contained in:
@@ -990,6 +990,7 @@ extension ListMonitor: FetchedResultsControllerHandler {
|
||||
)
|
||||
|
||||
case .Move:
|
||||
CoreStore.log(.Notice, message: "\(indexPath!) - \(newIndexPath!)")
|
||||
NSNotificationCenter.defaultCenter().postNotificationName(
|
||||
ListMonitorDidMoveObjectNotification,
|
||||
object: self,
|
||||
|
||||
@@ -74,6 +74,9 @@ public protocol ListObserver: class {
|
||||
func listMonitorDidRefetch(monitor: ListMonitor<ListEntityType>)
|
||||
}
|
||||
|
||||
|
||||
// MARK: - ListObserver (Default Implementations)
|
||||
|
||||
public extension ListObserver {
|
||||
|
||||
/**
|
||||
@@ -149,6 +152,9 @@ public protocol ListObjectObserver: ListObserver {
|
||||
func listMonitor(monitor: ListMonitor<ListEntityType>, didMoveObject object: ListEntityType, fromIndexPath: NSIndexPath, toIndexPath: NSIndexPath)
|
||||
}
|
||||
|
||||
|
||||
// MARK: - ListObjectObserver (Default Implementations)
|
||||
|
||||
public extension ListObjectObserver {
|
||||
|
||||
/**
|
||||
@@ -206,6 +212,9 @@ public protocol ListSectionObserver: ListObjectObserver {
|
||||
func listMonitor(monitor: ListMonitor<ListEntityType>, didDeleteSection sectionInfo: NSFetchedResultsSectionInfo, fromSectionIndex sectionIndex: Int)
|
||||
}
|
||||
|
||||
|
||||
// MARK: - ListSectionObserver (Default Implementations)
|
||||
|
||||
public extension ListSectionObserver {
|
||||
|
||||
/**
|
||||
|
||||
@@ -69,6 +69,8 @@ public protocol ObjectObserver: class {
|
||||
}
|
||||
|
||||
|
||||
// MARK: - ObjectObserver (Default Implementations)
|
||||
|
||||
public extension ObjectObserver {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user