Skip to content

Common interface for Element and Elements #251

@jevonmao

Description

@jevonmao

It will be really convenient if SwiftSoup implements something like a parent class or protocol that encapsulates common methods between Element and Elements like .attr(). Right now I have to copy paste a lot of redundant code, even thought the method call and signature are exactly the same to handle Element and Elements.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions