Skip to content

[swift2objc] API versioning #2428

@liamappelbe

Description

@liamappelbe

swiftc will raise a compile error if you unconditionally call a method that's only available in certain API versions. So when we wrap a method we'll need to copy their @available annotations, since we currently just directly call the wrapped method. Same for every other kind of declaration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions