Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Error]: Network connection failed. Making attempt 2 after sleeping for 2.252750 seconds.
- [Error]: unsupported URL (Code: 100, Version: 1.12.0)
- override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
- let cell = tableView.dequeueReusableCellWithIdentifier("cell", forIndexPath: indexPath) as! FollowersTableViewCell
- cell.userNameLabel.text = followUsernameArray[indexPath.row]
- let file = avaArray[indexPath.row]
- file.getDataInBackgroundWithBlock { (data: NSData?, error: NSError?) in
- if error == nil {
- if let data = data {
- //ERROR HERE. UNSUPPORTED URL!!??
- let image = UIImage(data: data)
- cell.avaImageView.image = image
- }
- }else if error != nil {
- print("FROM FOLLOWERS TABLE VC cellForRowAtIndexPath: (error?.localizedDescription)")
- }
- }
- return cell
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement