Skip to content

Commit 57190a7

Browse files
author
Thomas Taschauer
committed
fix editing after "discard changes"
1 parent 9e157ac commit 57190a7

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

OpenDocumentReader.xcodeproj/project.pbxproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -163,28 +163,28 @@
163163
isa = PBXContainerItemProxy;
164164
containerPortal = E26C38EA2250D91C009C484A /* odr.xcodeproj */;
165165
proxyType = 1;
166-
remoteGlobalIDString = 370F96077487484D87C97817;
166+
remoteGlobalIDString = 6EF4E076CF60433092E37E67;
167167
remoteInfo = glog;
168168
};
169169
E26C39322250D976009C484A /* PBXContainerItemProxy */ = {
170170
isa = PBXContainerItemProxy;
171171
containerPortal = E26C38EA2250D91C009C484A /* odr.xcodeproj */;
172172
proxyType = 1;
173-
remoteGlobalIDString = 1B4C60E4C647499B83BED692;
173+
remoteGlobalIDString = 527B291C96804BA39CF2D5CC;
174174
remoteInfo = miniz;
175175
};
176176
E26C39342250D976009C484A /* PBXContainerItemProxy */ = {
177177
isa = PBXContainerItemProxy;
178178
containerPortal = E26C38EA2250D91C009C484A /* odr.xcodeproj */;
179179
proxyType = 1;
180-
remoteGlobalIDString = CE8A8F56DF7949EF9B454B10;
180+
remoteGlobalIDString = 753F6F499E954CF09FDDDB35;
181181
remoteInfo = odrlib;
182182
};
183183
E26C39362250D976009C484A /* PBXContainerItemProxy */ = {
184184
isa = PBXContainerItemProxy;
185185
containerPortal = E26C38EA2250D91C009C484A /* odr.xcodeproj */;
186186
proxyType = 1;
187-
remoteGlobalIDString = 3CDE14922A8447A0AF9B2156;
187+
remoteGlobalIDString = 0485BB4A08784DE785195780;
188188
remoteInfo = tinyxml2;
189189
};
190190
E29A02212365EF7800BD6A96 /* PBXContainerItemProxy */ = {
@@ -254,7 +254,7 @@
254254
isa = PBXContainerItemProxy;
255255
containerPortal = E26C38EA2250D91C009C484A /* odr.xcodeproj */;
256256
proxyType = 1;
257-
remoteGlobalIDString = 32B5F430AA984ECA930C03F6;
257+
remoteGlobalIDString = 0D80F2CF350D404897887FB1;
258258
remoteInfo = "cryptopp-object";
259259
};
260260
/* End PBXContainerItemProxy section */
@@ -942,7 +942,7 @@
942942
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
943943
CLANG_ENABLE_MODULES = YES;
944944
CODE_SIGN_STYLE = Automatic;
945-
CURRENT_PROJECT_VERSION = 15;
945+
CURRENT_PROJECT_VERSION = 16;
946946
DEVELOPMENT_TEAM = 5LS6X97G6J;
947947
HEADER_SEARCH_PATHS = (
948948
"$(inherited)",
@@ -955,7 +955,7 @@
955955
"@executable_path/Frameworks",
956956
);
957957
LIBRARY_SEARCH_PATHS = "$(inherited)";
958-
MARKETING_VERSION = 1.11;
958+
MARKETING_VERSION = 1.12;
959959
PRODUCT_BUNDLE_IDENTIFIER = at.tomtasche.reader;
960960
PRODUCT_NAME = "$(TARGET_NAME)";
961961
SWIFT_OBJC_BRIDGING_HEADER = OpenDocumentReader/BridgingHeader.h;
@@ -972,7 +972,7 @@
972972
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
973973
CLANG_ENABLE_MODULES = YES;
974974
CODE_SIGN_STYLE = Automatic;
975-
CURRENT_PROJECT_VERSION = 15;
975+
CURRENT_PROJECT_VERSION = 16;
976976
DEVELOPMENT_TEAM = 5LS6X97G6J;
977977
HEADER_SEARCH_PATHS = (
978978
"$(inherited)",
@@ -985,7 +985,7 @@
985985
"@executable_path/Frameworks",
986986
);
987987
LIBRARY_SEARCH_PATHS = "$(inherited)";
988-
MARKETING_VERSION = 1.11;
988+
MARKETING_VERSION = 1.12;
989989
PRODUCT_BUNDLE_IDENTIFIER = at.tomtasche.reader;
990990
PRODUCT_NAME = "$(TARGET_NAME)";
991991
SWIFT_OBJC_BRIDGING_HEADER = OpenDocumentReader/BridgingHeader.h;

OpenDocumentReader/DocumentViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class DocumentViewController: UIViewController, DocumentDelegate {
197197
return
198198
}
199199

200-
doc.revert(toContentsOf: doc.fileURL, completionHandler: nil)
200+
doc.edit = true
201201
}
202202

203203
func saveContent() {

Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ SPEC CHECKSUMS:
123123

124124
PODFILE CHECKSUM: 56c1b56208f1c9800f198a7615d0b3919b381711
125125

126-
COCOAPODS: 1.8.0
126+
COCOAPODS: 1.8.3

Pods/Manifest.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)