IgorMuzyka / Tyler.Tag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 }
}

About

License:MIT License


Languages

Language:Swift 86.0%Language:Ruby 14.0%