NSDictionary & KVC problem
NSDictionary & KVC problem
- Subject: NSDictionary & KVC problem
- From: Nathan Dumar <email@hidden>
- Date: Sat, 23 Oct 2004 20:27:11 -0400
I have an NSDictionary called "prefs." I've loaded it with pairs of
strings, as follows:
prefs.allKeys() yields (("idNum", "uF1", "archiveTo", "uF2", "uF3",
"histLimit"))
prefs.allValues() yields (("numOnly", "Field 1", "", "Field 2", "Field
3", "8"))
So, when I do prefs.valueForKey("uF1") I should get "Field 1", but I
don't. I get null. In fact, I get null for any of the keys. When
bound to a WOString (value = prefs.uF1) it's the same problem. What am
I doing wrong?
Thanks for any ideas,
Nathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden