Robert Sesek [Mon, 17 Dec 2007 20:37:11 +0000 (15:37 -0500)]
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
Robert Sesek [Mon, 17 Dec 2007 19:52:14 +0000 (14:52 -0500)]
Automatically sort the words by length
* Source/AppController.h: Outlet for the table view
* Source/AppController.m:
([AppController findWords:]): Set the sort descriptors appropriately
* English.lproj/MainMenu.nib: Hook up the table view outlet
Robert Sesek [Mon, 17 Dec 2007 19:47:53 +0000 (14:47 -0500)]
We now populate the word list appropriately
* English.lproj/MainMenu.nib: Hooking up interface
* Source/AppController.h: wordlist ivar is now an NSArrayController again
* Source/AppController.m: ditto
Robert Sesek [Mon, 17 Dec 2007 18:24:42 +0000 (13:24 -0500)]
Creating a new model object to manage words to use for bindings
* Source/Word.m: New class that represents a word object
* Source/Word.h: ditto
* Scrabbalize.xcodeproj: Project changes for Word
* Source/AppController.m: Use the new Word class in the wordlist ivar
* English.lproj/MainMenu.nib: Hook up the bindings appropriately
Robert Sesek [Mon, 17 Dec 2007 18:12:47 +0000 (13:12 -0500)]
Beginning the filtering mechanism
* Source/AppController.h: Adding outlets and actions
* Source/AppController.m: Initial filtering mechanism
* English.lproj/MainMenu.nib: Hooking up the interface, with the exception of the word table
Robert Sesek [Mon, 17 Dec 2007 17:41:46 +0000 (12:41 -0500)]
Setting up the AppController as the delegate so that we can load the dictionary archive
* Source/AppController.m: New file
* Source/AppController.h: New file
* English.lproj/MainMenu.nib: Setting up AppController to be NSApp's delegate
* Scrabbalize.xcodeproj: Project changes for AppController
* dictionary.ka: Built keyed dictionary archive