我對此很新。我已經將所有NSDictionary
存儲爲NSArray
,現在我想要檢索數據。我不知道該怎麼做。請幫助我。我想獲得密鑰和數據,並基於想要顯示UITableView
中的數據。我只有檢索部分正在等待處理。在iOS中從NSArray中檢索數據
下面是我的NSArray
:
{
Code = MCP3441G;
"Needle Description" = "1/2 Circle Round Body MH";
"Needle Dimension" = "31 MM";
"No. of foils per box" = 12;
"Per box maximum retail price" = 7440;
"Per box price to retailers & hospitals" = 5474;
Size = "2/0";
"Suture type and length" = "MONOCRYL monofilament 70 CM Violet";
nid = 86;
},
{
Code = NW1641;
"Needle Description" = "1/2 Circle Round Body";
"Needle Dimension" = "30 MM";
"No. of foils per box" = 12;
"Per box maximum retail price" = 4800;
"Per box price to retailers & hospitals" = 3510;
Size = "2/0 Only";
"Suture type and length" = "MONOCRYL Undyed Monofilament 70 CM";
nid = 86;
},
{
Code = NW1642;
"Needle Description" = "1/2 Circle Round Body";
"Needle Dimension" = "30 MM";
"No. of foils per box" = 12;
"Per box maximum retail price" = 4800;
"Per box price to retailers & hospitals" = 3510;
Size = "1/0";
"Suture type and length" = "MONOCRYL Undyed Monofilament 70 CM";
nid = 86;
},
{
Code = NW1648;
"Needle Description" = "3/8 Circle Round Body";
"Needle Dimension" = "16 MM";
"No. of foils per box" = 12;
"Per box maximum retail price" = 3600;
"Per box price to retailers & hospitals" = 2687;
Size = "4/0";
"Suture type and length" = "MONOCRYL Undyed Monofilament 70 cm";
nid = 86;
},
{
Code = NW1663;
"Needle Description" = "1/2 Circle Oval Round Body J.B";
"Needle Dimension" = "22 MM";
"No. of foils per box" = 12;
"Per box maximum retail price" = 5280;
"Per box price to retailers & hospitals" = 3870;
Size = "3/0";
"Suture type and length" = "MONOCRYL Undyed Monofilament 70 CM";
nid = 86;
},
{
Code = NW1664;
"Needle Description" = "1/2 Circle Oval Round Body J.B";
"Needle Dimension" = "26 MM";
"No. of foils per box" = 12;
"Per box maximum retail price" = 5880;
"Per box price to retailers & hospitals" = 4347;
Size = "3/0";
"Suture type and length" = "MONOCRYL Undyed Monofilament 70 CM";
nid = 86;
},