Skip to content

Swift Support #16

Open
Open

Description

@0cyn

It's on the roadmap.Not before 1.0.0 though.

There's super rudimentary processing already in place. Just needs a lot of TLC + work to be much use for research (with the end goal of dumping, whatever is useful to swift devs, i don't use swift)

Activity

  1. pinned this issue on Feb 19, 2022
  2. NSAntoine commented on Feb 24, 2022

    @NSAntoine

    🙏

  3. cakarlen commented on Sep 20, 2022

    @cakarlen

    Hi, any update on this issue?

  4. 0cyn commented on Sep 26, 2022

    @0cyn
    OwnerAuthor
  5. Lancelotbronner commented on Jan 17, 2025

    @Lancelotbronner

    Here's one thing that could be useful to Swift devs: de-mangling symbols.

    Here's the relevant documentation, an example tool implementing this and an online utility to quickly de-mangle symbols.

    For example, the following @protocol _TtP13DVTFoundation20DVTResourceReference_ demangles to the following:

    • DVTFoundation is the module (framework)
    • DVTResourceReference is the name

    We can assume the user is likely going to package those back into a framework so the module name is irrelevant.
    You can annotate the declarations with the SWIFT_CLASS attribute

    SWIFT_CLASS("DVTResourceReference")
    @protocol _TtP13DVTFoundation20DVTResourceReference_;
    

    In Swift we'll then be able to use this as DVTResourceReference after importing -- user defined, but most likely -- DVTFoundation.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions