flutter/packages
Loïc Sharma 194fefaa53
[iOS] Migrate @UIApplicationMain attribute to @main (#146707)
This migrates Flutter to use the `@main` attribute introduced in Swift 5.3. The `@UIApplicationMain` 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. ad18797428 - This updates the iOS app template and adds a migration to replace `@UIApplicationMain` uses with `@main`. 
2. 8ecbb2f29f - I ran `flutter run` on each Flutter iOS app in this repository to verify the app migrates and launches successfully.

Part of https://github.com/flutter/flutter/issues/143044
2024-04-16 22:13:03 +00:00
..
flutter Remove checked mode references (#146845) 2024-04-16 22:10:54 +00:00
flutter_driver Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
flutter_goldens Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
flutter_localizations Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
flutter_test Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
flutter_tools [iOS] Migrate @UIApplicationMain attribute to @main (#146707) 2024-04-16 22:13:03 +00:00
flutter_web_plugins Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
fuchsia_remote_debug_protocol Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
integration_test Roll pub packages (#146842) 2024-04-16 22:07:27 +00:00
analysis_options.yaml Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00