Skip to content

Commit 3121dd4

Browse files
committed
修改储存
1 parent e752766 commit 3121dd4

File tree

5 files changed

+2
-96
lines changed

5 files changed

+2
-96
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ xcuserdata/
2121
*.moved-aside
2222
*.xccheckout
2323
*.xcscmblueprint
24+
*.DS_Store
2425

2526
## Obj-C/Swift specific
2627
*.hmap
Binary file not shown.

CreateJSONFile.xcworkspace/xcuserdata/Lj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

-34
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,4 @@
33
uuid = "8FAB3B19-396F-4D52-8B80-F3BBA194B4B3"
44
type = "0"
55
version = "2.0">
6-
<Breakpoints>
7-
<BreakpointProxy
8-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
9-
<BreakpointContent
10-
uuid = "DEC32EC5-0887-4BF7-9BCC-35A16658A85B"
11-
shouldBeEnabled = "Yes"
12-
ignoreCount = "0"
13-
continueAfterRunningActions = "No"
14-
filePath = "CreateJSONFile/Modules/RightView/View/FileOperationsView.swift"
15-
startingColumnNumber = "9223372036854775807"
16-
endingColumnNumber = "9223372036854775807"
17-
startingLineNumber = "472"
18-
endingLineNumber = "472"
19-
landmarkName = "Document"
20-
landmarkType = "3">
21-
</BreakpointContent>
22-
</BreakpointProxy>
23-
<BreakpointProxy
24-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
25-
<BreakpointContent
26-
uuid = "8582A3DE-B3E7-4CEB-A8FF-6E12E35F732E"
27-
shouldBeEnabled = "Yes"
28-
ignoreCount = "0"
29-
continueAfterRunningActions = "No"
30-
filePath = "CreateJSONFile/Modules/RightView/View/FileOperationsView.swift"
31-
startingColumnNumber = "9223372036854775807"
32-
endingColumnNumber = "9223372036854775807"
33-
startingLineNumber = "482"
34-
endingLineNumber = "482"
35-
landmarkName = "Document"
36-
landmarkType = "21">
37-
</BreakpointContent>
38-
</BreakpointProxy>
39-
</Breakpoints>
406
</Bucket>

CreateJSONFile/Modules/RightView/View/FileOperationsView.swift

+1-62
Original file line numberDiff line numberDiff line change
@@ -266,18 +266,7 @@ class FileOperationsView: NSView {
266266

267267

268268
}
269-
270-
// @objc func ddd() {
271-
// print("ss")
272-
//
273-
// }
274-
//
275-
// - (void)document:(NSDocument *)document didSave:(BOOL)didSaveSuccessfully contextInfo:(void *)contextInfo;
276-
277-
@objc func document(document: NSDocument) {
278-
279-
}
280-
269+
281270

282271

283272

@@ -433,53 +422,3 @@ class TestTextFieldCell: NSTextFieldCell {
433422
}
434423

435424

436-
class Document: NSDocument {
437-
438-
// override func save(to url: URL, ofType typeName: String, for saveOperation: NSDocument.SaveOperationType, delegate: Any?, didSave didSaveSelector: Selector?, contextInfo: UnsafeMutableRawPointer?) {
439-
//// print(withSettings: "12334")
440-
//// print()
441-
//
442-
//// FileDataModel.createFileSwift(typeName, homeData: HomeDataSource()) { (success) in
443-
////// print("222")
444-
//// }
445-
// }
446-
447-
448-
449-
450-
// override func write(to url: URL, ofType typeName: String) throws {
451-
//
452-
// }
453-
454-
// override func makeWindowControllers() {
455-
// _ = addWindowController(NSWindowController())
456-
// }
457-
458-
// override func write(to url: URL, ofType typeName: String) throws {
459-
// print("122")
460-
// }
461-
462-
// override func data(ofType typeName: String) throws -> Data {
463-
//// let ddd = Data(base64Encoded: "3333")
464-
// let data = NSMutableData()
465-
// let archiver = NSKeyedArchiver(forWritingWith: data)
466-
// archiver.encode(self, forKey: "2222")
467-
// archiver.finishEncoding()
468-
//
469-
//
470-
//
471-
//
472-
// return data as Data
473-
// }
474-
475-
// formDa
476-
477-
}
478-
479-
480-
extension Document {
481-
// override func save(to url: URL, ofType typeName: String, for saveOperation: NSDocument.SaveOperationType, delegate: Any?, didSave didSaveSelector: Selector?, contextInfo: UnsafeMutableRawPointer?) {
482-
//// print("123")
483-
//
484-
// }
485-
}

0 commit comments

Comments
 (0)