Repository navigation
Commit 46c69b3
authored
[image_picker_ios] PR 5/5 Switch Pigeon to Swift and finish the Objective-C to Swift migration. (flutter#13493)
Switches `image_picker_ios` Pigeon output from Objective-C to Swift and removes the remaining Objective-C packaging:
* `pigeons/messages.dart` now generates `messages.g.swift` instead of `messages.g.h` and `messages.g.m`.
* `ImagePickerPlugin` and the PHPicker save operation use the generated Swift API, including `PigeonError` instead of `FlutterError`.
* Deletes the `image_picker_ios_objc` Swift Package Manager target, the `image_picker_ios.h` umbrella header, and the custom module map.
* The CocoaPods pod is Swift-only and no longer sets `s.module_map`.
The iOS example app and UI tests stay Objective-C until the next PR.
Bumps image_picker_ios to **0.8.13+15**.
PR 5/5 of the Obj-C → Swift migration, following flutter/packages#13394. Part of flutter#119107
## Pre-Review Checklist
**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.1 parent 0478162 commit 46c69b3
23 files changed
Lines changed: 898 additions & 1051 deletions
File tree
- packages/image_picker/image_picker_ios
- example/ios
- RunnerTests
- ios
- image_picker_ios
- Sources
- image_picker_ios_objc
- include
- image_picker_ios
- image_picker_ios
- pigeons
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
0 commit comments