Re: Access NSDictionary-Keys in Repetition
Re: Access NSDictionary-Keys in Repetition
- Subject: Re: Access NSDictionary-Keys in Repetition
- From: "Arturo Perez" <email@hidden>
- Date: Tue, 10 Aug 2004 10:53:47 -0400
Ute Hoffmann wrote:
Hallo,
this is probably a very basic question, but nevertheless I'm stuck....
I have a number of NSDictionaries, all with identical keys, all inserted
in a NSMutableArray.
How can I access those values in a repetition? The Array could be bound
to the repetition list key, but what should I bind to the Repetition
item key to get access to the values? If I bind it to a variable of type
object it will know nothing about the keys contained. I could write a
class with the keys in, but is there no way to do it with less code?
I think you'll have to edit the .wod file by hand. Say your array
iterator is anNSDict. Then in the wod file you can put
anNSDict.key1
and it'll work just fine.
-arturo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.