-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from GeoffreyChen777/macOS-native-dev
Advanced Search #30
- Loading branch information
Showing
12 changed files
with
449 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+28.6 KB
(110%)
...b.xcodeproj/project.xcworkspace/xcuserdata/geo.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// PaperEntityCache.swift | ||
// PaperLib | ||
// | ||
// Created by GeoffreyChen on 11/03/2022. | ||
// | ||
|
||
import Foundation | ||
import RealmSwift | ||
|
||
class PaperEntityCache: Object, ObjectKeyIdentifiable { | ||
@Persisted var fulltext: String = "" | ||
@Persisted var id: ObjectId | ||
|
||
convenience init(id: ObjectId, fulltext: String?) { | ||
self.init() | ||
self.id = id | ||
self.fulltext = fulltext ?? "" | ||
} | ||
} |
Oops, something went wrong.