質問編集履歴
2
エラー発生のタイミングが間違っていたので修正します。
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,15 @@
|
|
6
6
|
|
7
7
|
確実な再現ができないので、根本的な原因がわからないのですが、
|
8
8
|
|
9
|
+
|
10
|
+
|
11
|
+
①Realmにていくつかのデータを追加する
|
12
|
+
|
13
|
+
②テーブルビューのセルスワイプで削除を行う
|
14
|
+
|
15
|
+
③新しくデータを追加しようとする、
|
16
|
+
|
9
|
-
|
17
|
+
のステップでエラーが出ました。(何回試みてもエラーが出ない時もあります)
|
10
18
|
|
11
19
|
|
12
20
|
|
1
微修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
```
|
18
18
|
|
19
|
-
Terminating app due to uncaught exception 'RLMException', reason: 'Attempting to create an object of type 'Registered
|
19
|
+
Terminating app due to uncaught exception 'RLMException', reason: 'Attempting to create an object of type 'RegisteredData' with an existing primary key value '4'.'
|
20
20
|
|
21
21
|
```
|
22
22
|
|