We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9479104 commit 4a9d8edCopy full SHA for 4a9d8ed
Colombia/Sources/Model/RealmWork.swift
@@ -0,0 +1,22 @@
1
+//
2
+// FavoriteAnime.swift
3
+// Colombia
4
5
+// Created by 神原良継 on 2021/02/26.
6
7
+
8
9
+import Foundation
10
+import RealmSwift
11
12
+class RealmWork: Object {
13
+ @objc dynamic var id = 0
14
+ @objc dynamic var title = ""
15
+ @objc dynamic var recommendedUrl = ""
16
17
+ var image: RealmImage { return RealmImage(recommendedUrl: recommendedUrl) }
18
+}
19
20
+struct RealmImage {
21
+ let recommendedUrl: String?
22
0 commit comments