diff options
author | Nicholas Tay <nick@windblume.net> | 2022-03-24 17:07:51 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-03-24 17:07:51 +1100 |
commit | d8624dbf8a9111f931802cbb2759ebd009096552 (patch) | |
tree | c0154b234a8274374aada77fd7a63d5dabf00e7e /foray/ForayItems.swift | |
parent | 1b292bc251b3dbef532dacad9705bd197ac4227b (diff) | |
download | forayios-d8624dbf8a9111f931802cbb2759ebd009096552.tar.gz forayios-d8624dbf8a9111f931802cbb2759ebd009096552.tar.bz2 forayios-d8624dbf8a9111f931802cbb2759ebd009096552.zip |
First attempt at Presenter
This is admittedly pretty hard for me to wrap my head around, and I'm
not even using background threading explicitly yet. Will improve.
Diffstat (limited to '')
-rw-r--r-- | foray/ForayItems.swift | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/foray/ForayItems.swift b/foray/ForayItems.swift deleted file mode 100644 index a8786ee..0000000 --- a/foray/ForayItems.swift +++ /dev/null @@ -1,25 +0,0 @@ -// -// ForayItems.swift -// foray -// -// Created by Nicholas Tay on 20/3/2022. -// - -import Foundation - -enum ItemType: String, Decodable { - case item - case quest -} - -struct YearSection { - var year: Int - var items: [PenguinItem] -} - -struct PenguinItem: Decodable { - var type: ItemType - var releaseDate: Date - var id: String - var name: String -} |