Skip to content

Swift support for LTSupportAutomotive 1.1 #33

Open

Description

@mickeyl

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.

Activity

  1. added this to the 1.1 milestone on Oct 20, 2020
  2. jasonthenderson commented on Apr 23, 2023

    @jasonthenderson

    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.

  3. mickeyl commented on Apr 24, 2023

    @mickeyl
    OwnerAuthor

    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.

  4. jasonthenderson commented on Apr 24, 2023

    @jasonthenderson

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions