Commit 7977f7b
committed
Add tvOS support by using caches directory instead of application support
On tvOS, `.applicationSupportDirectory` is unavailable, so switch to
`.cachesDirectory` for the default database path. Also remove redundant
`createDirectory` calls that are now handled by `FileManager.default.url(create:true)`.1 parent 79785e0 commit 7977f7b
2 files changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2243 | 2243 | | |
2244 | 2244 | | |
2245 | 2245 | | |
2246 | | - | |
2247 | | - | |
2248 | | - | |
2249 | | - | |
2250 | 2246 | | |
2251 | 2247 | | |
2252 | 2248 | | |
| |||
0 commit comments