Skip to content

Commit

Permalink
Use 1 line per tweet
Browse files Browse the repository at this point in the history
  • Loading branch information
3lvis committed Dec 13, 2015
1 parent 2a3c9e5 commit cc3c8bd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions AppNet/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ extension ViewController {
let cell = tableView.dequeueReusableCellWithIdentifier(CellIdentifier)
let data = items[indexPath.row]
cell?.textLabel?.text = data.text

// Workaround: The proper value of `numberOfLines` should be 0
// but there's a weird bug that causes UITableView to go crazy
cell?.textLabel?.numberOfLines = 1
cell?.detailTextLabel?.text = data.user.username

return cell!
Expand Down

0 comments on commit cc3c8bd

Please sign in to comment.