Added the current update

This commit is contained in:
SerenityUX 2023-04-29 20:28:48 -04:00
parent 42590eaf00
commit 55c0957511
5 changed files with 99 additions and 29 deletions

42
Apple/App/Model.swift Normal file
View file

@ -0,0 +1,42 @@
//
// MemoryGame.swift
// Memorize
//
// Created by Thomas Stubblefield on 3/12/23.
//
import Foundation
struct Model {
var status: Status = .unknown
mutating func connectToBurrow() {
print("let's get this working")
status = .valid
print(status)
}
}
enum Status: CustomStringConvertible {
case unknown
case blank
case valid
case error
case loading
var description: String {
switch self {
case .unknown:
return "Unknown"
case .blank:
return "Blank"
case .valid:
return "Valid"
case .loading:
return "Loading"
default:
return "Default"
}
}
}