質問編集履歴
1
れあlm
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
user:[String: [String]] この型のデータを realm に保存したいのでこのコードを書きました
|
2
|
+
|
1
3
|
```swift
|
2
4
|
|
3
5
|
import UIKit
|
@@ -36,7 +38,7 @@
|
|
36
38
|
|
37
39
|
```
|
38
40
|
|
39
|
-
|
41
|
+
実行するとこのエラーが出ます
|
40
42
|
|
41
43
|
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.'
|
42
44
|
|