【发布时间】:2016-11-04 16:33:51
【问题描述】:
您好,我有一个Array,它有 NSDictionaries。
1st object->["111":title of the video]
2nd object->["123":title of the other]
3rd object->["133":title of another]
假设我要搜索123 键入这个Array 并获取它的值。我该怎么做?
请帮我。
谢谢
更新
var subCatTitles=[AnyObject]()
let dict=[catData![0]:catData![4]]
self.subCatTitles.append(dict)
【问题讨论】:
标签: ios arrays swift search nsdictionary