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
Support Swift in ios template project #7312
Comments
I like this idea. I personally find myself able to read and understand Swift, but not ObjC. |
I like it too; Swift is a lot easier to read. But for plugins / native interop purposes we likely will need to support both. AFAIK that should be possible, as iOS supports projects with both using "mix and match": |
@mit-mit if we change the output of (agreed that our plugins should support user code written in both objc and swift) |
We think it will be fine, but we need to do more work to confirm it. |
Changing this to supporting Swift as an option, in addition to OjbC. This could be something like |
I suppose it's planned, but an option for swift plugin template like |
@rxlabz wrote one btw: https://github.com/rxlabz/FlutterSwiftPlugin-template |
Closed per #10259 |
``` f0a1d6f Roll src/third_party/skia 487132b82826..acc763e8795c (1 commits) (flutter#7318) f0dd643 Recreate the overlay rendering surfaces if the GrContext was changed. (flutter#7317) 245317a Reland "Only reject gestures to embedded UIViews when the framework sa (flutter#7315) be69b07 Roll src/third_party/skia d2fa2eb59f2d..487132b82826 (1 commits) (flutter#7314) 732ea76 Allow dynamic patches without a patch number. (flutter#7309) 20ee4e3 Revert "Only reject gestures to embedded UIViews when the framework says so. (flutter#7307)" (flutter#7313) 28e152f Roll src/third_party/skia cae020ae5f5f..d2fa2eb59f2d (3 commits) (flutter#7312) 7c65290 Roll src/third_party/skia 31c1bf89657f..cae020ae5f5f (1 commits) (flutter#7311) 180d8a7 Roll src/third_party/skia f6e963ef91c2..31c1bf89657f (1 commits) (flutter#7310) cc9c670 Only reject gestures to embedded UIViews when the framework says so. (flutter#7307) 2fb2b27 Roll src/third_party/skia 3605fde88b2a..f6e963ef91c2 (1 commits) (flutter#7306) ```
``` f0a1d6f Roll src/third_party/skia 487132b82826..acc763e8795c (1 commits) (#7318) f0dd643 Recreate the overlay rendering surfaces if the GrContext was changed. (#7317) 245317a Reland "Only reject gestures to embedded UIViews when the framework sa (#7315) be69b07 Roll src/third_party/skia d2fa2eb59f2d..487132b82826 (1 commits) (#7314) 732ea76 Allow dynamic patches without a patch number. (#7309) 20ee4e3 Revert "Only reject gestures to embedded UIViews when the framework says so. (#7307)" (#7313) 28e152f Roll src/third_party/skia cae020ae5f5f..d2fa2eb59f2d (3 commits) (#7312) 7c65290 Roll src/third_party/skia 31c1bf89657f..cae020ae5f5f (1 commits) (#7311) 180d8a7 Roll src/third_party/skia f6e963ef91c2..31c1bf89657f (1 commits) (#7310) cc9c670 Only reject gestures to embedded UIViews when the framework says so. (#7307) 2fb2b27 Roll src/third_party/skia 3605fde88b2a..f6e963ef91c2 (1 commits) (#7306) ```
``` f0a1d6f Roll src/third_party/skia 487132b82826..acc763e8795c (1 commits) (flutter#7318) f0dd643 Recreate the overlay rendering surfaces if the GrContext was changed. (flutter#7317) 245317a Reland "Only reject gestures to embedded UIViews when the framework sa (flutter#7315) be69b07 Roll src/third_party/skia d2fa2eb59f2d..487132b82826 (1 commits) (flutter#7314) 732ea76 Allow dynamic patches without a patch number. (flutter#7309) 20ee4e3 Revert "Only reject gestures to embedded UIViews when the framework says so. (flutter#7307)" (flutter#7313) 28e152f Roll src/third_party/skia cae020ae5f5f..d2fa2eb59f2d (3 commits) (flutter#7312) 7c65290 Roll src/third_party/skia 31c1bf89657f..cae020ae5f5f (1 commits) (flutter#7311) 180d8a7 Roll src/third_party/skia f6e963ef91c2..31c1bf89657f (1 commits) (flutter#7310) cc9c670 Only reject gestures to embedded UIViews when the framework says so. (flutter#7307) 2fb2b27 Roll src/third_party/skia 3605fde88b2a..f6e963ef91c2 (1 commits) (flutter#7306) ```
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 |
As Swift is the future of development with any Apple product, I'd like to know if the ios template that is generated from
flutter create
could be a swift template rather than an obj-c template.The code readability of swift in substantially higher that obj-c and seeing as how one of flutters goals is to make development across platforms simple, readability is an easy way to help with simplicity.
The text was updated successfully, but these errors were encountered: