let dict = booksArray[indexPath.row]
title.text = dict["im:name"]!["label"] as? String
descLabel.text = dict["im:releaseDate"]!["attributes"]!!["label"] as? String
答案 0 :(得分:-1)
我的解决方案
let dataArray = dict["im:releaseDate"] as! NSDictionary
for item in dataArray { // loop through data items
if (item.key as! String == "attributes") {
descLabel.text = item.value as? String
}
}
我希望帮助