Robert Sesek [Wed, 28 May 2008 20:47:41 +0000 (16:47 -0400)]
Adding a nice gradient to the background to make the app look even prettier
* English.lproj/MainMenu.nib: Add the Custion View
* English.lproj/gradient.png: New file
* Source/GradientBackView.m+h: New files
* Scrabbalize.xcodeproj: Project updates for new files
Robert Sesek [Thu, 22 May 2008 01:30:12 +0000 (21:30 -0400)]
Removing the extra dictionary tool because it's not really needed. Instead, we will merely load the words, from text, at startup
* Dictionary/dictionary.txt: Moved ..
* Dictionary/: Removed
* dictionary.ka: Removed
* Source/AppController.h: Making the dictionary ivar mutable
* Source/AppController.m:
(-[init]): Load the words from dictionary.txt
(-[findWords:]): Still a broken algorithm, but making progress
Robert Sesek [Wed, 21 May 2008 20:54:46 +0000 (16:54 -0400)]
Adding an alphagram ivar to Word which is calculated and then stored in the keyed archive
* Dictionary/Dictionary.m: Create Word objects and archive them rather than NSStrings
* Dictionary/Dictionary.xcodeproj: Switch to C99 mode and include Word.m/h
* Scrabbalize.xcodeproj: Mysterious project updates?
* Source/Word.h: Adding alphagram ivar and getter
* Source/Word.m:
(-[dealloc]): New method
(-[initWithCoder:]): New method
(-[encodeWithCoder:]): New method
(-[alphagram]): New method
(-[createAlphagram]): New method
(-[description]): Include the alphagram in the description
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