Mercurial > public > geoquiz
comparison GeoQuiz/Models/PlayedGame+CoreDataProperties.swift @ 26:425078c01194
refactor code
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Wed, 09 Nov 2022 10:30:01 +0100 |
parents | GeoQuiz/Logic/PlayedGame+CoreDataProperties.swift@e281791e0494 |
children |
comparison
equal
deleted
inserted
replaced
25:b3df0f5dc750 | 26:425078c01194 |
---|---|
1 // | |
2 // PlayedGame+CoreDataProperties.swift | |
3 // GeoQuiz | |
4 // | |
5 // Created by Dennis Concepción Martín on 19/10/22. | |
6 // | |
7 // | |
8 | |
9 import Foundation | |
10 import CoreData | |
11 | |
12 | |
13 extension PlayedGame { | |
14 | |
15 @nonobjc public class func fetchRequest() -> NSFetchRequest<PlayedGame> { | |
16 return NSFetchRequest<PlayedGame>(entityName: "PlayedGame") | |
17 } | |
18 | |
19 @NSManaged public var type: GameType | |
20 @NSManaged public var score: Int32 | |
21 @NSManaged public var date: Date? | |
22 @NSManaged public var correctAnswers: [String]? | |
23 @NSManaged public var wrongAnswers: [String]? | |
24 | |
25 } | |
26 | |
27 extension PlayedGame : Identifiable { | |
28 | |
29 } |