crossmate

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

Square.swift (317B)


      1 import Foundation
      2 
      3 /// Per-cell state for one square in the grid. Combines the letter entry and
      4 /// mark (previously parallel arrays on `Game`) with sync bookkeeping fields.
      5 struct Square: Sendable {
      6     var entry: String = ""
      7     var mark: CellMark = .none
      8     var updatedAt: Date?
      9     var letterAuthorID: String?
     10 }