[Solved] Facebook friends list in swift


You haven’t given much code, but it looks like you are forgetting to cast your data array after you’ve retrieved the information. It’s kind of hard to tell without looking at your other code, but you might find this answer useful.

Here is an example of proper data casting and retrieval.

func tableView(tableView: UITableView!, didSelectRowAtIndexPath indexPath: NSIndexPath!) {
    let cell = tableView.cellForRowAtIndexPath(indexPath) as YourCell
    //cell.value, cell.text, cell.randomValue or whatever you need
}

solved Facebook friends list in swift