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.
It will be really convenient if SwiftSoup implements something like a parent class or protocol that encapsulates common methods between
ElementandElementslike.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.