NSMutableDictionary problems - I think
NSMutableDictionary problems - I think
- Subject: NSMutableDictionary problems - I think
- From: Raymond <email@hidden>
- Date: Sun, 20 Feb 2005 11:35:27 -0500
I am wrapping up a language dictionary program that keeps dying after I
try and add or delete more than one word at a time. You can download a
copy of it from http://www.silenttrace.com/phd/objc/objcindex.html and
then choose "Dictionary." so that you can take a look at what I am
doing (Xcode project).
As a test choose "Just me" for dictionary when you run it and add one
word. Watch the word count change and then try adding another word -
that's where it crashes. Before I forget you must download the sample
plist file and place it in your ~/Library/Application
Support/languageDictionary/ folder which if it doesn't exist you must
create. I am hoping for some feedback from more experienced cocoa
coders into what I did wrong or hosed up and thus causing the problems.
I am doing this mainly for a learning experience and so thanks to any
of you who offers help. (A word to look up is "scusi" or try adding
your own.) - I will later add the feature of doing lookups
ir-regardless of capitalization.
For now I am thinking that when I add a word to the dictionary I update
it back to the saved file, I am wondering if I should only do that when
I go to load in a new dictionary and just leave the one that is loaded
as is till i close out the program or again load a new library.
Raymond Brown
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden