Parsable

public protocol Parsable

Types that implement this protocol are expected to be constructuble from string

  • Implement this method in order to be able to construct your data from string

    Declaration

    Swift

    static func parse(string: String) -> Self?