cocoa - how to access an NSDictionary through an ordered NSArray -


Then I have a nsDictionary with properties (key: values) with many objects, But the point is that I want them in a specific order.

There is a list of items stored in the form of a NSArray which I would like to use as the key for NSDictionary .

I can output to NSArray and nsDictionary on the console, but when I enter each file in "Filename":

(NSUntiger I = 0; I & lt; [Count of Images]; I ++) NSLog (@ "% @", [[Object forekee: [Images ObjectTitx: I]] ObjectForcae: @ "file name"]);

I get all the tap.

Anyone have any ideas? I am assuming this because my gives [images objectsAtIndex: i] something other than the string, although I have tried slappin in ( NSString * ) and now I Also, the dictionary does not mean that the dictionary should not be the dictionary, then the second should not be < / Code> Ho valueForKey ?


Comments