From a978965d2fb51f554631fddcaf4c86aa3248993a Mon Sep 17 00:00:00 2001 From: Daniel Dahan Date: Wed, 6 Jul 2016 01:39:09 -0400 Subject: [PATCH] prepare for release --- Sources/Coordinator.swift | 1 - Sources/Model.swift | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Sources/Coordinator.swift b/Sources/Coordinator.swift index 133a3195..88275c07 100644 --- a/Sources/Coordinator.swift +++ b/Sources/Coordinator.swift @@ -159,7 +159,6 @@ public extension Graph { s.delegate?.graphWillResetFromCloudStorage?(s) moc?.mergeChangesFromContextDidSaveNotification(notification) moc?.reset() - poc?.performBlockAndWait { [weak self, weak poc] in guard let s = self else { return diff --git a/Sources/Model.swift b/Sources/Model.swift index 90965fe1..925bf88d 100644 --- a/Sources/Model.swift +++ b/Sources/Model.swift @@ -170,7 +170,7 @@ internal struct Model { propertySetRelationship.minCount = 0 propertySetRelationship.maxCount = 0 propertySetRelationship.optional = false - propertySetRelationship.deleteRule = .CascadeDeleteRule + propertySetRelationship.deleteRule = .NoActionDeleteRule propertyRelationship.inverseRelationship = propertySetRelationship propertySetRelationship.inverseRelationship = propertyRelationship @@ -209,7 +209,7 @@ internal struct Model { groupSetRelationship.minCount = 0 groupSetRelationship.maxCount = 0 groupSetRelationship.optional = false - groupSetRelationship.deleteRule = .CascadeDeleteRule + groupSetRelationship.deleteRule = .NoActionDeleteRule groupRelationship.inverseRelationship = groupSetRelationship groupSetRelationship.inverseRelationship = groupRelationship @@ -242,7 +242,7 @@ internal struct Model { actionSubjectRelationship.minCount = 0 actionSubjectRelationship.maxCount = 0 actionSubjectRelationship.optional = false - actionSubjectRelationship.deleteRule = .CascadeDeleteRule + actionSubjectRelationship.deleteRule = .NoActionDeleteRule actionSubjectRelationship.destinationEntity = actionDescription actionSubjectRelationship.inverseRelationship = actionSubjectSetRelationship actionSubjectSetRelationship.inverseRelationship = actionSubjectRelationship @@ -265,7 +265,7 @@ internal struct Model { actionObjectRelationship.minCount = 0 actionObjectRelationship.maxCount = 0 actionObjectRelationship.optional = false - actionObjectRelationship.deleteRule = .CascadeDeleteRule + actionObjectRelationship.deleteRule = .NoActionDeleteRule actionObjectRelationship.destinationEntity = actionDescription actionObjectRelationship.inverseRelationship = actionObjectSetRelationship actionObjectSetRelationship.inverseRelationship = actionObjectRelationship @@ -288,7 +288,7 @@ internal struct Model { relationshipSubjectRelationship.minCount = 0 relationshipSubjectRelationship.maxCount = 0 relationshipSubjectRelationship.optional = false - relationshipSubjectRelationship.deleteRule = .CascadeDeleteRule + relationshipSubjectRelationship.deleteRule = .NoActionDeleteRule relationshipSubjectRelationship.destinationEntity = relationshipDescription relationshipSubjectRelationship.inverseRelationship = relationshipSubjectSetRelationship @@ -312,7 +312,7 @@ internal struct Model { relationshipObjectRelationship.minCount = 0 relationshipObjectRelationship.maxCount = 0 relationshipObjectRelationship.optional = false - relationshipObjectRelationship.deleteRule = .CascadeDeleteRule + relationshipObjectRelationship.deleteRule = .NoActionDeleteRule relationshipObjectRelationship.destinationEntity = relationshipDescription relationshipObjectRelationship.inverseRelationship = relationshipObjectSetRelationship relationshipObjectSetRelationship.inverseRelationship = relationshipObjectRelationship