mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-19 07:54:26 +01:00
minor fixes
This commit is contained in:
@@ -65,10 +65,13 @@ internal extension NSManagedObjectModel {
|
|||||||
}
|
}
|
||||||
else if let resolvedVersion = modelVersions.first ?? modelVersionHints.first {
|
else if let resolvedVersion = modelVersions.first ?? modelVersionHints.first {
|
||||||
|
|
||||||
CoreStore.log(
|
if !modelVersionHints.isEmpty {
|
||||||
.Warning,
|
|
||||||
message: "The MigrationChain leaf versions do not include any of the model file's embedded versions. Resolving to version \"\(resolvedVersion)\"."
|
CoreStore.log(
|
||||||
)
|
.Warning,
|
||||||
|
message: "The MigrationChain leaf versions do not include any of the model file's embedded versions. Resolving to version \"\(resolvedVersion)\"."
|
||||||
|
)
|
||||||
|
}
|
||||||
currentModelVersion = resolvedVersion
|
currentModelVersion = resolvedVersion
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -205,7 +205,6 @@ public protocol ListSectionObserver: ListObjectObserver {
|
|||||||
- parameter sectionInfo: the `NSFetchedResultsSectionInfo` for the inserted section
|
- parameter sectionInfo: the `NSFetchedResultsSectionInfo` for the inserted section
|
||||||
- parameter sectionIndex: the new section index for the new section
|
- parameter sectionIndex: the new section index for the new section
|
||||||
*/
|
*/
|
||||||
@available(iOS 8.0, *)
|
|
||||||
func listMonitor(monitor: ListMonitor<ListEntityType>, didInsertSection sectionInfo: NSFetchedResultsSectionInfo, toSectionIndex sectionIndex: Int)
|
func listMonitor(monitor: ListMonitor<ListEntityType>, didInsertSection sectionInfo: NSFetchedResultsSectionInfo, toSectionIndex sectionIndex: Int)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -215,7 +214,6 @@ public protocol ListSectionObserver: ListObjectObserver {
|
|||||||
- parameter sectionInfo: the `NSFetchedResultsSectionInfo` for the deleted section
|
- parameter sectionInfo: the `NSFetchedResultsSectionInfo` for the deleted section
|
||||||
- parameter sectionIndex: the previous section index for the deleted section
|
- parameter sectionIndex: the previous section index for the deleted section
|
||||||
*/
|
*/
|
||||||
@available(iOS 8.0, *)
|
|
||||||
func listMonitor(monitor: ListMonitor<ListEntityType>, didDeleteSection sectionInfo: NSFetchedResultsSectionInfo, fromSectionIndex sectionIndex: Int)
|
func listMonitor(monitor: ListMonitor<ListEntityType>, didDeleteSection sectionInfo: NSFetchedResultsSectionInfo, fromSectionIndex sectionIndex: Int)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user