回答編集履歴
1
コード修正
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
var isDir: ObjCBool = true //true:チェック対象はディレクトリである
|
10
10
|
|
11
|
-
if(fileManager.fileExists(atPath: t
|
11
|
+
if(fileManager.fileExists(atPath: targetDir.path ,isDirectory:&isDir)){
|
12
12
|
|
13
13
|
//同名のフォルダが既にある
|
14
14
|
|