質問編集履歴
1
れあlm
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
user:[String: [String]] この型のデータを realm に保存したいのでこのコードを書きました
|
1
2
|
```swift
|
2
3
|
import UIKit
|
3
4
|
import RealmSwift
|
@@ -17,6 +18,6 @@
|
|
17
18
|
}
|
18
19
|
}
|
19
20
|
```
|
20
|
-
|
21
|
+
実行するとこのエラーが出ます
|
21
22
|
realm[10219:111656] *** Terminating app due to uncaught exception 'RLMException', reason: 'Property 'user' is declared as 'NSDictionary', which is not a supported RLMObject property type. All properties must be primitives, NSString, NSDate, NSData, NSNumber, RLMArray, RLMLinkingObjects, or subclasses of RLMObject. See https://realm.io/docs/objc/latest/api/Classes/RLMObject.html for more information.'
|
22
23
|
対処法を教えてください
|