Created
November 21, 2016 15:36
-
-
Save thiagolioy/8ce9f39806cc776c5eab5e6a396e3405 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class CharacterTableCell: UITableViewCell, NibReusable { | |
@IBOutlet weak var name: UILabel! | |
@IBOutlet weak var thumb: UIImageView! | |
static func height() -> CGFloat { | |
return 80 | |
} | |
func setup(item: Character) { | |
name.text = item.name | |
thumb.download(image: item.thumImage?.fullPath() ?? "") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment