我想知道如何从字典中检索数组,然后从数组对象中检索字典。如何从字典中检索数组,然后检索该数组中的字典?
我正在追踪这个http://ios.biomsoft.com/2011/09/11/simple-xml-to-nsdictionary-converter/
itemDict
(
{
postID = {
text = 26;
};
score = {
text = 20;
};
title = {
text = "http://www.google.com quiz";
};
url = {
text = "http://www.google.com";
};
},
{
postID = {
text = 27;
};
score = {
text = 10;
};
title = {
text = "http://www.google.com";
};
url = {
text = "http://www.google.com";
};
},
{
postID = {
text = 3;
};
score = {
text = 41;
};
title = {
text = "http://www.google.com";
};
url = {
text = "http://www.google.com";
};
},
{
postID = {
text = 35;
};
score = {
text = 10;
};
title = {
text = "Sample Video";
};
url = {
text = "http://www.google.com";
};
},
{
postID = {
text = 43;
};
score = {
text = 30;
};
title = {
text = "sample";
};
url = {
text = "http://www.google.com";
};
}
)