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

Swift support for LTSupportAutomotive 1.1 #33

Open
1 of 6 tasks
mickeyl opened this issue Oct 20, 2020 · 3 comments
Open
1 of 6 tasks

Swift support for LTSupportAutomotive 1.1 #33

mickeyl opened this issue Oct 20, 2020 · 3 comments
Milestone

Comments

@mickeyl
Copy link
Owner

mickeyl commented Oct 20, 2020

This issue keeps track about the forthcoming Swift support for LTSupportAutomotive. I'm planning to:

  • Relayout the source files to make the Swift Package Manager happy (while not breaking the .xcodeproj)
  • Check/Adjust nullability annotations
  • Check/Adjust lightweight generic annotations
  • Check/Adjust enums
  • Check whether we can make the package work on Linux
  • Register with the https://swiftpackageindex.com and the https://swiftpackageregistry.com

After that we can tag and release 1.1.
NB: I don't plan rewriting this library in Swift any time soon. However I want to make the call sites as swifty as possible.

@mickeyl mickeyl added this to the 1.1 milestone Oct 20, 2020
@jasonthenderson
Copy link

I would love it if you could do this, I couldn't find any examples of Swift calling LTSSupportAutomotive...but would definitely use it if I could figure out how to do it.

@mickeyl
Copy link
Owner Author

mickeyl commented Apr 24, 2023

The first bits of that have landed in the SPM branch. I have feedback from people using this from Swift. I should perhaps rebase it on master and make it the default branch.

@jasonthenderson
Copy link

It would be great to have a simple sample of how to use the library from Swift @mickeyl - I looked at the spm branch but didn’t see this. Ie just a ‘to be done’ note.

As far as I’ve been able to find (with a lot of searching) there is no library for ble access to obd2 written in swift available. I would wrap your lib myself if I could but my obj-c skills are non-existent and am working on learning swift as I go on this project.

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

No branches or pull requests

2 participants