String

extension String
  • Returns a Date? from an iso8601 string representation with milliseconds.

    Declaration

    Swift

    var iso8601ms: Date? { get }
  • Converts a string to the form we will use for puzzle answer comparison. We don’t store answers normalized because when they are correct we will show them in their original form. We do store hint keys like this so we can do a dictionary lookup.

    Declaration

    Swift

    func normalizePuzzleAnswer() -> String

Utilities