質問編集履歴

1

わかりやすいように記述

2018/05/31 03:04

投稿

L85A2
L85A2

スコア60

test CHANGED
File without changes
test CHANGED
@@ -42,7 +42,9 @@
42
42
 
43
43
  if UserDefaults.standard.data(forKey: "volume") != nil {
44
44
 
45
+         //↓の行でエラー
46
+
45
- userDefaluts = NSKeyedUnarchiver.unarchiveObject(with: (anyObject as! NSData) as Data) as! UserDefalutsController //ここでエラー
47
+ userDefaluts = NSKeyedUnarchiver.unarchiveObject(with: (anyObject as! NSData) as Data) as! UserDefalutsController 
46
48
 
47
49
 
48
50