Source/Game-Persistence.h
author Jens Alfke <jens@mooseyard.com>
Wed May 28 12:47:10 2008 -0700 (2008-05-28)
changeset 8 45c82a071aca
permissions -rw-r--r--
* Got it working with latest iPhone SDK.
* Fixed some text alignment issues that showed up on PlayingCards.
* Working on persistence and move-tracking for Game.
     1 //
     2 //  Game-Persistence.h
     3 //  GeekGameBoard
     4 //
     5 //  Created by Jens Alfke on 3/16/08.
     6 //  Copyright 2008 __MyCompanyName__. All rights reserved.
     7 //
     8 
     9 #import "Game.h"
    10 
    11 
    12 @interface Game (Persistence) <NSCoding>
    13 
    14 + (Game*) gameWithURL: (NSURL*)url;
    15 
    16 - (NSURL*) asURL;
    17 
    18 - (BOOL) addMoveFromURL: (NSURL*)url;
    19 
    20 @end