@@ -12,7 +12,7 @@ struct AppView: View {
12
12
window. backgroundColor = . brown
13
13
}
14
14
#elseif os(macOS)
15
- . introspect( . window, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { window in
15
+ . introspect( . window, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { window in
16
16
window. backgroundColor = . lightGray
17
17
}
18
18
#endif
@@ -92,7 +92,7 @@ struct ListShowcase: View {
92
92
collectionView. subviews. dropFirst ( 1 ) . first? . backgroundColor = . cyan
93
93
}
94
94
#elseif os(macOS)
95
- . introspect( . list, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { tableView in
95
+ . introspect( . list, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { tableView in
96
96
tableView. backgroundColor = . cyan
97
97
}
98
98
#endif
@@ -117,7 +117,7 @@ struct ListShowcase: View {
117
117
collectionView. subviews. dropFirst ( 1 ) . first? . backgroundColor = . cyan
118
118
}
119
119
#elseif os(macOS)
120
- . introspect( . list, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) , scope: . ancestor) { tableView in
120
+ . introspect( . list, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) , scope: . ancestor) { tableView in
121
121
tableView. backgroundColor = . cyan
122
122
}
123
123
#endif
@@ -155,7 +155,7 @@ struct ScrollViewShowcase: View {
155
155
scrollView. layer. backgroundColor = UIColor . cyan. cgColor
156
156
}
157
157
#elseif os(macOS)
158
- . introspect( . scrollView, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { scrollView in
158
+ . introspect( . scrollView, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { scrollView in
159
159
scrollView. drawsBackground = true
160
160
scrollView. backgroundColor = . cyan
161
161
}
@@ -177,7 +177,7 @@ struct ScrollViewShowcase: View {
177
177
scrollView. layer. backgroundColor = UIColor . cyan. cgColor
178
178
}
179
179
#elseif os(macOS)
180
- . introspect( . scrollView, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) , scope: . ancestor) { scrollView in
180
+ . introspect( . scrollView, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) , scope: . ancestor) { scrollView in
181
181
scrollView. drawsBackground = true
182
182
scrollView. backgroundColor = . cyan
183
183
}
@@ -310,7 +310,7 @@ struct GenericViewShowcase: View {
310
310
view. backgroundColor = . cyan
311
311
}
312
312
#elseif os(macOS)
313
- . introspect( . view, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { view in
313
+ . introspect( . view, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { view in
314
314
view. layer? . backgroundColor = NSColor . cyan. cgColor
315
315
}
316
316
#endif
@@ -322,11 +322,11 @@ struct GenericViewShowcase: View {
322
322
. view,
323
323
on: . iOS( . v13, . v14, . v15, . v16, . v17, . v18) , . tvOS( . v13, . v14, . v15, . v16, . v17, . v18) , . visionOS( . v1, . v2)
324
324
) { view in
325
- view. backgroundColor = . lightGray
325
+ view. backgroundColor = . yellow
326
326
}
327
327
#elseif os(macOS)
328
- . introspect( . view, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { view in
329
- view. layer? . backgroundColor = NSColor . lightGray . cgColor
328
+ . introspect( . view, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { view in
329
+ view. layer? . backgroundColor = NSColor . yellow . cgColor
330
330
}
331
331
#endif
332
332
@@ -339,7 +339,7 @@ struct GenericViewShowcase: View {
339
339
view. backgroundColor = . blue
340
340
}
341
341
#elseif os(macOS)
342
- . introspect( . view, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { view in
342
+ . introspect( . view, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { view in
343
343
view. layer? . backgroundColor = NSColor . blue. cgColor
344
344
}
345
345
#endif
@@ -353,7 +353,7 @@ struct GenericViewShowcase: View {
353
353
view. backgroundColor = . red
354
354
}
355
355
#elseif os(macOS)
356
- . introspect( . view, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { view in
356
+ . introspect( . view, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { view in
357
357
view. layer? . backgroundColor = NSColor . red. cgColor
358
358
}
359
359
#endif
@@ -380,7 +380,7 @@ struct SimpleElementsShowcase: View {
380
380
textField. backgroundColor = . red
381
381
}
382
382
#elseif os(macOS)
383
- . introspect( . textField, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { textField in
383
+ . introspect( . textField, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { textField in
384
384
textField. backgroundColor = . red
385
385
}
386
386
#endif
@@ -395,7 +395,7 @@ struct SimpleElementsShowcase: View {
395
395
textField. backgroundColor = . green
396
396
}
397
397
#elseif os(macOS)
398
- . introspect( . textField, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { textField in
398
+ . introspect( . textField, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { textField in
399
399
textField. backgroundColor = . green
400
400
}
401
401
#endif
@@ -413,7 +413,7 @@ struct SimpleElementsShowcase: View {
413
413
toggle. backgroundColor = . red
414
414
}
415
415
#elseif os(macOS)
416
- . introspect( . toggle, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { toggle in
416
+ . introspect( . toggle, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { toggle in
417
417
toggle. layer? . backgroundColor = NSColor . red. cgColor
418
418
}
419
419
#endif
@@ -427,7 +427,7 @@ struct SimpleElementsShowcase: View {
427
427
toggle. backgroundColor = . green
428
428
}
429
429
#elseif os(macOS)
430
- . introspect( . toggle, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { toggle in
430
+ . introspect( . toggle, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { toggle in
431
431
toggle. layer? . backgroundColor = NSColor . green. cgColor
432
432
}
433
433
#endif
@@ -440,7 +440,7 @@ struct SimpleElementsShowcase: View {
440
440
slider. backgroundColor = . red
441
441
}
442
442
#elseif os(macOS)
443
- . introspect( . slider, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { slider in
443
+ . introspect( . slider, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { slider in
444
444
slider. layer? . backgroundColor = NSColor . red. cgColor
445
445
}
446
446
#endif
@@ -451,7 +451,7 @@ struct SimpleElementsShowcase: View {
451
451
slider. backgroundColor = . green
452
452
}
453
453
#elseif os(macOS)
454
- . introspect( . slider, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { slider in
454
+ . introspect( . slider, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { slider in
455
455
slider. layer? . backgroundColor = NSColor . green. cgColor
456
456
}
457
457
#endif
@@ -466,7 +466,7 @@ struct SimpleElementsShowcase: View {
466
466
stepper. backgroundColor = . red
467
467
}
468
468
#elseif os(macOS)
469
- . introspect( . stepper, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { stepper in
469
+ . introspect( . stepper, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { stepper in
470
470
stepper. layer? . backgroundColor = NSColor . red. cgColor
471
471
}
472
472
#endif
@@ -479,7 +479,7 @@ struct SimpleElementsShowcase: View {
479
479
stepper. backgroundColor = . green
480
480
}
481
481
#elseif os(macOS)
482
- . introspect( . stepper, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { stepper in
482
+ . introspect( . stepper, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { stepper in
483
483
stepper. layer? . backgroundColor = NSColor . green. cgColor
484
484
}
485
485
#endif
@@ -495,7 +495,7 @@ struct SimpleElementsShowcase: View {
495
495
datePicker. backgroundColor = . red
496
496
}
497
497
#elseif os(macOS)
498
- . introspect( . datePicker, on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { datePicker in
498
+ . introspect( . datePicker, on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { datePicker in
499
499
datePicker. layer? . backgroundColor = NSColor . red. cgColor
500
500
}
501
501
#endif
@@ -517,7 +517,7 @@ struct SimpleElementsShowcase: View {
517
517
datePicker. backgroundColor = . red
518
518
}
519
519
#elseif os(macOS)
520
- . introspect( . picker( style: . segmented) , on: . macOS( . v10_15, . v11, . v12, . v13, . v14) ) { datePicker in
520
+ . introspect( . picker( style: . segmented) , on: . macOS( . v10_15, . v11, . v12, . v13, . v14, . v15 ) ) { datePicker in
521
521
datePicker. layer? . backgroundColor = NSColor . red. cgColor
522
522
}
523
523
#endif
0 commit comments