crossmate

A collaborative crossword app for iOS
Log | Files | Refs | LICENSE

PuzzleSource.swift (329B)


      1 import Foundation
      2 
      3 enum 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 }