回答編集履歴
4
\.bin
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
```swift
|
6
6
|
|
7
|
-
let documentsPath = (paths1[0] as NSString).stringByAppendingPathComponent("hoge.
|
7
|
+
let documentsPath = (paths1[0] as NSString).stringByAppendingPathComponent("hoge.bin")
|
8
8
|
|
9
9
|
```
|
10
10
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
```swift
|
18
18
|
|
19
|
-
let documentsPath = paths1[0] + "/hoge.
|
19
|
+
let documentsPath = paths1[0] + "/hoge.bin"
|
20
20
|
|
21
21
|
```
|
22
22
|
|
3
かっこ。
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
```swift
|
6
6
|
|
7
|
-
let documentsPath = paths1[0] as NSString).stringByAppendingPathComponent("hoge.txt")
|
7
|
+
let documentsPath = (paths1[0] as NSString).stringByAppendingPathComponent("hoge.txt")
|
8
8
|
|
9
9
|
```
|
10
10
|
|
2
ちょっと。
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
paths1はフォルダですので、ファイル名を付加して下さい。
|
1
|
+
paths1に入っているのはフォルダ名ですので、任意のファイル名を付加して下さい。
|
2
2
|
|
3
3
|
|
4
4
|
|
1
Swift2
test
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
paths1はフォルダですので、ファイル名を付加して下さい。
|
2
|
-
|
3
|
-
|
4
2
|
|
5
3
|
|
6
4
|
|
@@ -21,3 +19,9 @@
|
|
21
19
|
let documentsPath = paths1[0] + "/hoge.txt"
|
22
20
|
|
23
21
|
```
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
Swift2です。
|
26
|
+
|
27
|
+
|