Commit 636ead0
committed
Fix: Resolve deprecation warnings and unreachable code
- Updated 80+ instances of onChange(of:perform:) to use the new
macOS 14.0+ syntax with two-parameter closures (_, newValue in)
- Commented out unreachable code in LSPService.swift after early return
- Updated Xcode project settings to version 16.1 (LastUpgradeCheck: 2610)
- Enabled app sandbox and JIT runtime exceptions for proper execution
- Added string catalog symbol generation
This resolves all deprecation warnings when targeting macOS 14.0+.
Files affected: 39 files
Changes: 95 insertions(+), 76 deletions(-)1 parent aad6716 commit 636ead0
39 files changed
Lines changed: 95 additions & 76 deletions
File tree
- CodeEdit.xcodeproj
- CodeEdit
- Features
- ActivityViewer/Notifications
- CEWorkspaceSettings/Views
- CodeEditUI/Views
- Editor
- JumpBar/Views
- TabBar/Tabs/Views
- Views
- InspectorArea
- FileInspector
- HistoryInspector
- Views
- LSP/Service
- Notifications/Views
- Settings
- Pages
- AccountsSettings
- Extensions
- GeneralSettings
- SourceControlSettings
- ThemeSettings
- Views
- SourceControl/Views
- StatusBar
- ViewModifiers
- Views/StatusBarItems
- Tasks/Views
- UtilityArea/TerminalUtility
- WindowCommands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
| 653 | + | |
653 | 654 | | |
654 | 655 | | |
655 | 656 | | |
| |||
673 | 674 | | |
674 | 675 | | |
675 | 676 | | |
| 677 | + | |
676 | 678 | | |
677 | 679 | | |
678 | 680 | | |
| |||
690 | 692 | | |
691 | 693 | | |
692 | 694 | | |
| 695 | + | |
| 696 | + | |
693 | 697 | | |
694 | 698 | | |
695 | 699 | | |
| |||
847 | 851 | | |
848 | 852 | | |
849 | 853 | | |
| 854 | + | |
850 | 855 | | |
851 | 856 | | |
852 | 857 | | |
| |||
870 | 875 | | |
871 | 876 | | |
872 | 877 | | |
| 878 | + | |
873 | 879 | | |
874 | 880 | | |
875 | 881 | | |
| |||
887 | 893 | | |
888 | 894 | | |
889 | 895 | | |
| 896 | + | |
| 897 | + | |
890 | 898 | | |
891 | 899 | | |
892 | 900 | | |
| |||
1115 | 1123 | | |
1116 | 1124 | | |
1117 | 1125 | | |
| 1126 | + | |
1118 | 1127 | | |
1119 | 1128 | | |
1120 | 1129 | | |
| |||
1139 | 1148 | | |
1140 | 1149 | | |
1141 | 1150 | | |
| 1151 | + | |
1142 | 1152 | | |
1143 | 1153 | | |
1144 | 1154 | | |
| |||
1156 | 1166 | | |
1157 | 1167 | | |
1158 | 1168 | | |
| 1169 | + | |
| 1170 | + | |
1159 | 1171 | | |
1160 | 1172 | | |
1161 | 1173 | | |
| |||
1319 | 1331 | | |
1320 | 1332 | | |
1321 | 1333 | | |
| 1334 | + | |
1322 | 1335 | | |
1323 | 1336 | | |
1324 | 1337 | | |
| |||
1384 | 1397 | | |
1385 | 1398 | | |
1386 | 1399 | | |
| 1400 | + | |
1387 | 1401 | | |
1388 | 1402 | | |
1389 | 1403 | | |
| |||
1407 | 1421 | | |
1408 | 1422 | | |
1409 | 1423 | | |
| 1424 | + | |
1410 | 1425 | | |
1411 | 1426 | | |
1412 | 1427 | | |
| |||
1424 | 1439 | | |
1425 | 1440 | | |
1426 | 1441 | | |
| 1442 | + | |
| 1443 | + | |
1427 | 1444 | | |
1428 | 1445 | | |
1429 | 1446 | | |
| |||
1448 | 1465 | | |
1449 | 1466 | | |
1450 | 1467 | | |
| 1468 | + | |
1451 | 1469 | | |
1452 | 1470 | | |
1453 | 1471 | | |
| |||
1465 | 1483 | | |
1466 | 1484 | | |
1467 | 1485 | | |
| 1486 | + | |
| 1487 | + | |
1468 | 1488 | | |
1469 | 1489 | | |
1470 | 1490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 10 | | |
15 | 11 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments