Commit 9a7c01c
authored
Add tvOS support by using caches directory instead of application support (#470)
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 36137af commit 9a7c01c
2 files changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2247 | 2247 | | |
2248 | 2248 | | |
2249 | 2249 | | |
2250 | | - | |
2251 | | - | |
2252 | | - | |
2253 | | - | |
2254 | 2250 | | |
2255 | 2251 | | |
2256 | 2252 | | |
| |||
0 commit comments