Finished the algorithm for checking the words. We now make sure the word isn't too...
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 17 Dec 2007 20:37:11 +0000 (15:37 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 17 Dec 2007 20:37:11 +0000 (15:37 -0500)
commita7aa2abc426c3b717a4620bdd7e1ff8614b68107
tree1bbcbe976d02e2a3d94a3ba7c6a29aa266761a3a
parent5bdaab9672ce07f974798dbd3c39139f00e5c499
Finished the algorithm for checking the words. We now make sure the word isn't too long, does not contain other characters, and the occurrence of the characters in the word is less than or equal to the number in the tile string

* Source/NSStringAdditions.h:
* Source/NSStringAdditions.m:
([NSString(NSStringAdditions) occurenceOfChar:]): New Method
* Scrabbalize.xcodeproj: Project changes for NSStringAdditions
* Source/AppController.m: Use the new algorithm and occurence method
Scrabbalize.xcodeproj/project.pbxproj
Source/AppController.m
Source/NSStringAdditions.h [new file with mode: 0644]
Source/NSStringAdditions.m [new file with mode: 0644]