diff options
Diffstat (limited to 'src/osx/Graph+Coder.m')
-rw-r--r-- | src/osx/Graph+Coder.m | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/osx/Graph+Coder.m b/src/osx/Graph+Coder.m deleted file mode 100644 index 6a3f650..0000000 --- a/src/osx/Graph+Coder.m +++ /dev/null @@ -1,25 +0,0 @@ -// -// Graph+Coder.m -// TikZiT -// -// Created by Aleks Kissinger on 27/04/2010. -// Copyright 2010 __MyCompanyName__. All rights reserved. -// - -#import "Graph+Coder.h" -#import "TikzGraphAssembler.h" - -@implementation Graph(Coder) - -- (id)initWithCoder:(NSCoder*)coder { - NSString *tikz = [coder decodeObject]; - TikzGraphAssembler *ass = [[TikzGraphAssembler alloc] init]; - [ass parseTikz:tikz forGraph:self]; - return self; -} - -- (void)encodeWithCoder:(NSCoder*)coder { - [coder encodeObject:[self tikz]]; -} - -@end |