I have a NSDictionary loaded from a remote PList. It contains an array of dictionaries:
(
{
id = "1234";
count = "45";
},
{
id = "244";
count = "89";
},
{
id = "9909";
count = "123";
}
)
How do I get this into an NSArray? I don't want separate arrays for each key. I just want an NSArray of NSDictionary.
There is probably a simple answer, but this has been bugging me.
Thanks
<array> <dict> <key>id</key> <real>1234</real> <key>count</key> <real>123</real> </dict> <dict> <key>id</key> <real>223</real> <key>count</key> <real>2</real> </dict> <dict> <key>id</key> <real>777</real> <key>count</key> <real>15523</real> </dict> </array>The root element of the created NSDictionary is an array without a key. I'm trying to figure out how to get this array into a NSArray. If I added this array with a key, I could just use objectForKey to get the NSArray.