From 2caa1e80b0bce62d155082217d755d981b2d9ab7 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Thu, 17 Sep 2020 14:31:45 -0400 Subject: [PATCH] Add wasDeletedFromServer flag to WFAPost entity --- .../LocalStorageModel.xcdatamodel/contents | 3 ++- WFAPost+CoreDataProperties.swift | 1 + .../angelo.xcuserdatad/xcschemes/xcschememanagement.plist | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Shared/Models/LocalStorageModel.xcdatamodeld/LocalStorageModel.xcdatamodel/contents b/Shared/Models/LocalStorageModel.xcdatamodeld/LocalStorageModel.xcdatamodel/contents index ff8b974..29499d1 100644 --- a/Shared/Models/LocalStorageModel.xcdatamodeld/LocalStorageModel.xcdatamodel/contents +++ b/Shared/Models/LocalStorageModel.xcdatamodeld/LocalStorageModel.xcdatamodel/contents @@ -27,6 +27,7 @@ + @@ -35,6 +36,6 @@ - + \ No newline at end of file diff --git a/WFAPost+CoreDataProperties.swift b/WFAPost+CoreDataProperties.swift index 48d4d2b..50d64be 100644 --- a/WFAPost+CoreDataProperties.swift +++ b/WFAPost+CoreDataProperties.swift @@ -27,6 +27,7 @@ extension WFAPost { @NSManaged public var title: String @NSManaged public var updatedDate: Date? @NSManaged public var hasNewerRemoteCopy: Bool + @NSManaged public var wasDeletedFromServer: Bool } diff --git a/WriteFreely-MultiPlatform.xcodeproj/xcuserdata/angelo.xcuserdatad/xcschemes/xcschememanagement.plist b/WriteFreely-MultiPlatform.xcodeproj/xcuserdata/angelo.xcuserdatad/xcschemes/xcschememanagement.plist index 6cd8075..2723ebe 100644 --- a/WriteFreely-MultiPlatform.xcodeproj/xcuserdata/angelo.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/WriteFreely-MultiPlatform.xcodeproj/xcuserdata/angelo.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,12 +7,12 @@ WriteFreely-MultiPlatform (iOS).xcscheme_^#shared#^_ orderHint - 1 + 0 WriteFreely-MultiPlatform (macOS).xcscheme_^#shared#^_ orderHint - 0 + 1