flutter/dev/benchmarks
Loïc Sharma 86135b7774
[macOS] Migrate @NSApplicationMain attribute to @main (#146848)
This migrates Flutter to use the `@main` attribute introduced in Swift 5.3. The `@NSApplicationMain` attribute is deprecated and will be removed in Swift 6. See: https://github.com/apple/swift-evolution/blob/main/proposals/0383-deprecate-uiapplicationmain-and-nsapplicationmain.md

This change is split into two commits:

1. a508d3e503 - This updates the macOS app template and adds a migration to replace `@NSApplicationMain` uses with `@main`. 
2. f43482786e - I ran `flutter run -d macos` on each Flutter macOS app in this repository to verify the app migrates and launches successfully.

Follow-up to https://github.com/flutter/flutter/pull/146707
Fixes https://github.com/flutter/flutter/issues/143044
2024-04-18 03:08:36 +00:00
..
complex_layout [macOS] Migrate @NSApplicationMain attribute to @main (#146848) 2024-04-18 03:08:36 +00:00
macrobenchmarks [macOS] Migrate @NSApplicationMain attribute to @main (#146848) 2024-04-18 03:08:36 +00:00
microbenchmarks Bump meta to 1.14.0 (#146925) 2024-04-17 15:25:51 -07:00
multiple_flutters Bump meta to 1.14.0 (#146925) 2024-04-17 15:25:51 -07:00
platform_channels_benchmarks Bump meta to 1.14.0 (#146925) 2024-04-17 15:25:51 -07:00
platform_views_layout Bump meta to 1.14.0 (#146925) 2024-04-17 15:25:51 -07:00
platform_views_layout_hybrid_composition Bump meta to 1.14.0 (#146925) 2024-04-17 15:25:51 -07:00
test_apps/stocks Bump meta to 1.14.0 (#146925) 2024-04-17 15:25:51 -07:00