TagInfo

@objc public class TagInfo : NSObject

Tag information holder class

  • tag

    Tag string

    Declaration

    Swift

    public let tag: String
  • Regex pattern to parse a tag to determine its validity

    Declaration

    Swift

    public let pattern: String?
  • Whether a tag is mandatory or not

    Declaration

    Swift

    public let isMandatory: Bool
  • Name of the tag for comparision purposes

    Declaration

    Swift

    public let name: String
  • Equality check

    Declaration

    Swift

    public override func isEqual(_ object: Any?) -> Bool
  • String representation

    Declaration

    Swift

    public override var description: String