回答編集履歴

1

コンパイルエラーを修正

2016/09/11 04:09

投稿

退会済みユーザー
test CHANGED
@@ -30,7 +30,7 @@
30
30
 
31
31
  if !fileManager.fileExistsAtPath(realmPath) {
32
32
 
33
- fileManager.copyItemAtPath(path, toPath: realmPath)
33
+ try! fileManager.copyItemAtPath(path!, toPath: realmPath)
34
34
 
35
35
  }
36
36