我在另一个数组下有一个数组,我想要内部数组的值,并在iOS swift中的UITextfield中显示它们(例如:xyz,ABC,123)
let memberDetail = tobeReceivedArray[indexPath.row]["groupMembersVO"]
self.memberArray = memberDetail as! [AnyObject]
let amount = (tobeReceivedArray[indexPath.row]["totalPay"] as! Int) as NSNumber
let date = tobeReceivedArray[indexPath.row]["uploadOn"] as! String
let name = memberArray[indexPath.row]["name"] as! String
cell.amountLable.text = amount.stringValue cell.timeLable.text = date
cell.nameLable.text = name
答案 0 :(得分:0)
您可以简单地使用平面地图来更好地理解您可以点击此链接: http://sketchytech.blogspot.in/2015/06/swift-what-do-map-and-flatmap-really-do.html