Commit 838c790
committed
Update Datastore example to avoid build/run problems on Linux.
NSString.init(contentsOfFile:usedEncoding:) is not available (yet)
on Linux, and is used by String.init(contentsOfFile:). We replace
these calls with calls to String.init(contentsOfFile:,encoding:)1 parent 1a0145a commit 838c790
File tree
2 files changed
+4
-4
lines changed- Examples/Datastore/PackageManager
- Sources
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments