Skip to content

Comments

refactor: Migrate plugins to Swift#844

Open
fbernaly wants to merge 1 commit intodevelopfrom
swift_migration
Open

refactor: Migrate plugins to Swift#844
fbernaly wants to merge 1 commit intodevelopfrom
swift_migration

Conversation

@fbernaly
Copy link
Collaborator

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates all iOS plugin implementations from Objective-C to Swift, modernizing the codebase and improving maintainability. The migration covers 20+ ML Kit plugins and common infrastructure.

Changes:

  • Migrated all iOS plugin code from Objective-C (.m/.h) to Swift (.swift)
  • Updated podspec files to reference Swift files only and changed author to 'flutter-ml.dev'
  • Added SwiftLint integration to analyze.sh and GitHub Actions workflow
  • Updated Xcode project configuration and removed test targets
  • Maintained API compatibility with existing Flutter/Dart interfaces

Reviewed changes

Copilot reviewed 102 out of 125 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
scripts/analyze.sh Added SwiftLint checks for iOS Swift code
.github/workflows/code-analysis.yml Added SwiftLint installation and execution
packages//ios/.podspec Updated to reference Swift files, removed header files
packages//ios/Classes/.swift New Swift implementations of all plugins
packages//ios/Classes/.m/*.h Removed Objective-C implementations
packages/google_mlkit_commons/ios/Classes/ Core infrastructure migrated to Swift
packages/example/ios/*.pbxproj Xcode project updates, removed test targets
.run/*.xml Added Flutter run configurations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fbernaly fbernaly force-pushed the swift_migration branch 3 times, most recently from b840a41 to cb32b36 Compare February 18, 2026 02:48
@fbernaly fbernaly requested a review from Copilot February 18, 2026 02:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 103 out of 126 changed files in this pull request and generated 11 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fbernaly fbernaly force-pushed the swift_migration branch 5 times, most recently from 9e772d2 to 9153ce0 Compare February 19, 2026 01:40
@fbernaly fbernaly requested a review from Copilot February 19, 2026 01:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 108 out of 131 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 108 out of 131 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 108 out of 131 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 108 out of 131 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 108 out of 131 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 108 out of 131 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fbernaly fbernaly marked this pull request as ready for review February 19, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant