Skip to content

Commit 7e525c2

Browse files
author
Nathan Fallet
authored
Merge pull request #1149 from a-vanderbilt/patch-1
2 parents ba32ad7 + f2609b9 commit 7e525c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/Index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,12 @@ On macOS, you can use your app’s **Application Support** directory:
288288

289289

290290
```swift
291+
// set the path corresponding to application support
291292
var path = NSSearchPathForDirectoriesInDomains(
292293
.applicationSupportDirectory, .userDomainMask, true
293294
).first! + "/" + Bundle.main.bundleIdentifier!
294295
295-
// create parent directory iff it doesn’t exist
296+
// create parent directory inside application support if it doesn’t exist
296297
try FileManager.default.createDirectory(
297298
atPath: path, withIntermediateDirectories: true, attributes: nil
298299
)

0 commit comments

Comments
 (0)