/Tyler.Tag

Primary LanguageSwiftMIT LicenseMIT

Tag

This repo provides a functionality to tag content or mark types as Tagged or Taggable for the Tyler famework.

Tag:

public enum Tag: Equatable {

    case wildcard
    case custom(String)
}

Tagged:

public protocol Tagged: class {

    var tags: [Tag] { get }
}

Taggable:

public protocol Taggable: Tagged {

    var tags: [Tag] { get set }
}