From: Robert Sesek Date: Thu, 22 May 2008 00:51:41 +0000 (-0400) Subject: We forgot to tell the Word class to actually generate the alphagram X-Git-Tag: 2.0~21 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=b1e46ee8302511b714e244dc8c1cb2f63a814e22;p=scrabbalize.git We forgot to tell the Word class to actually generate the alphagram * Dictionary/Dictionary.m: Removed an NSLog() * Source/Word.m: (-[initWithWord:]): Need to actually call -[createAlphagram] --- diff --git a/Dictionary/Dictionary.m b/Dictionary/Dictionary.m index 4cd553b..d70daff 100644 --- a/Dictionary/Dictionary.m +++ b/Dictionary/Dictionary.m @@ -39,7 +39,6 @@ int main (int argc, const char * argv[]) NSString *str = [strings objectAtIndex:i]; Word *word = [[Word alloc] initWithWord:str]; [words addObject:word]; - NSLog(@"%@", word); [word release]; } diff --git a/Source/Word.m b/Source/Word.m index 0474923..0610283 100644 --- a/Source/Word.m +++ b/Source/Word.m @@ -31,6 +31,7 @@ if (self = [super init]) { word = [aWord retain]; + [self createAlphagram]; } return self; }