GBA001/Common/Database/Model/GameCollection+CoreDataProperties.swift
Riley Testut bf70df6611 Adds basic support for saving + loading save states
Stores SaveState model objects with Core Data, and displays the available save states in SaveStatesViewController.

Currently, tapping + button creates a new save state, while tapping a collection view cell loads the save state, regardless of whether Save State or Load State was selected from the pause menu.
2016-02-08 13:55:27 -08:00

30 lines
592 B
Swift

//
// GameCollection+CoreDataProperties.swift
// Delta
//
// Created by Riley Testut on 11/1/15.
// Copyright © 2015 Riley Testut. All rights reserved.
//
// Choose "Create NSManagedObject Subclass" from the Core Data editor menu
// to delete and recreate this implementation file for your updated model.
//
import Foundation
import CoreData
enum GameCollectionAttributes: String
{
case identifier
case index
case games
}
extension GameCollection
{
@NSManaged var identifier: String
@NSManaged var index: Int16
@NSManaged var games: Set<Game>
}