For example
struct FinderTag : ExpressibleByTupleLiteral {
let name: String
let color: Color
init(tupleLiteral: (String, Color)) {
name = tupleLiteral.0
color = tupleLiteral.1
}
}
enum Color: Int {
case none
case gray
case green
case purple
case blue
case yellow
case red
case orange
}
let tag: FinderTag = ("tagWithRed", .red)
let tags: [FinderTag] = [("tagWithRed", .red), ("tagWithYellow", .yellow)]