Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would like an example using swift code in a Flutter app #8299

Closed
eseidelGoogle opened this issue Feb 21, 2017 · 11 comments
Closed

Would like an example using swift code in a Flutter app #8299

eseidelGoogle opened this issue Feb 21, 2017 · 11 comments
Assignees
Labels
platform-ios iOS applications specifically
Projects

Comments

@eseidelGoogle
Copy link
Contributor

A couple folks in gitter have asked for this.

@chinmaygarde built https://github.com/chinmaygarde/flutter_swift_embedder, but it doesn't actually seem to have swift in it (maybe has it locally and hasn't pushed).

Would be nice to have an official example in flutter/examples

#7312 would also be an alternative solution to this.

@eseidelGoogle eseidelGoogle added the platform-ios iOS applications specifically label Feb 21, 2017
@mit-mit
Copy link
Member

mit-mit commented Feb 21, 2017

@szakarias you have this working, right?

@szakarias
Copy link
Contributor

Not exactly. My setup is a Flutter/Objective-C project making use of a pod written in Swift. (And I have actually abandoned the pod again since I was not happy with what it provided.)

@eseidelGoogle
Copy link
Contributor Author

https://github.com/chinmaygarde/flutter_swift_embedder/ is now a working example of using a fully-swift embedding to drive a FlutterView-using iOS app.

@chinmaygarde
Copy link
Member

Sorry about the incomplete repo. I forgot to actually push the commit where I replaced the Objective-C implementation with Swift. It is updated now. We can close this ticket now. We may want to move the example into the Flutter GH org.

@eseidelGoogle
Copy link
Contributor Author

I'd like to keep this open (or another bug) until we have some working swift code in the official flutter/examples or flutter create template. Thanks for getting us a working example chinmay!

@sethladd
Copy link
Contributor

See also: #7312

@mit-mit
Copy link
Member

mit-mit commented Mar 27, 2017

Discussed in triage: We will create a Swift version of https://github.com/flutter/flutter/tree/master/examples/platform_services

@szakarias
Copy link
Contributor

Done in #9098.

@eseidelGoogle eseidelGoogle moved this from General Backlog to Done in M2 Apr 4, 2017
@realcarlos
Copy link

@mit-mit 404

@mit-mit
Copy link
Member

mit-mit commented Dec 27, 2017

@realcarlos can you elaborate?

@github-actions
Copy link

github-actions bot commented Sep 4, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform-ios iOS applications specifically
Projects
No open projects
M2
Done
Development

No branches or pull requests

7 participants