← All repositories

crossmate

A collaborative crossword app for iPhone and iPad

git clone https://code.inqk.net/crossmate.git


Crossmate/Models/PuzzleSource.swift (329B)

1import Foundation
2
3enum PuzzleSource: String, CaseIterable, Identifiable {
4    case bundles
5    case imported
6    case external
7
8    var id: String { rawValue }
9
10    var title: String {
11        switch self {
12        case .bundles: "Bundles"
13        case .external: "External"
14        case .imported: "Imported"
15        }
16    }
17}