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

Support in Objective-C or Swift #3

Open
wryphonedev opened this issue Apr 5, 2015 · 6 comments
Open

Support in Objective-C or Swift #3

wryphonedev opened this issue Apr 5, 2015 · 6 comments

Comments

@wryphonedev
Copy link

This tool would be immensely valuable for mobile developers supporting iOS.

@bdferris
Copy link
Contributor

bdferris commented Apr 6, 2015

Do you have any preference on library sharing / packaging? Ever used CocoaPods or something similar?

@daviddelmonte
Copy link

+1 for objc and Swift. No preference on packaging.

@mikebikemusic
Copy link

+1 for Swift implementation that works whether it is embedded in OS X, iOS, apple watch, or tvOS.

@egorich239
Copy link
Contributor

The fastest way to get a language supported is to send a pull request: https://github.com/google/gtfs-realtime-bindings#other-languages ;)

@arahman010
Copy link

+1 for swift

@jameslinjl
Copy link
Contributor

jameslinjl commented Dec 19, 2022

I'll have this on my backlog at some point. Notes for the future:

  • Objective-C has Google official language support, so that should be good to go: https://developers.google.com/protocol-buffers/docs/reference/objective-c-generated
  • It looks like Apple has released their own Swift Protobuf support: https://github.com/apple/swift-protobuf. Since this is supported by Apple, I would propose that we consider supporting a language binding here since the plugin will likely have strong, enterprise-level support
  • From my brief research, it looks like our best bet would be to publish the language binding packages in both CocoaPods and Swift Package Manager (SPM). SPM is the future, first-party solution, but it will only work for applications and packages that have their entire dependency chain in SPM. CocoaPods seems to be a reasonable "safety net" to ensure all other applications and packages can utilize the language bindings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants