显示数组值

问题描述:

我有下另一个数组的数组,我想内阵列的值,并在的UITextField显示它们(例如:XYZ,ABC,123)在IOS迅速显示数组值

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 
+6

到目前为止您尝试过了什么?也许我们可以看看它,告诉你为什么它不起作用。 –

+0

目前你在做什么? –

+0

我确实得到了数组中的值..我想解析textfield中的那些值,如name = xyz,abc,123 –

您可以简单地使用平面地图以便更好地理解,您可以按照以下链接进行操作: http://sketchytech.blogspot.in/2015/06/swift-what-do-map-and-flatmap-really-do.html