Skip to content

Instantly share code, notes, and snippets.

@yakimelon
Created July 14, 2018 09:10
Show Gist options
  • Save yakimelon/9d66d503e70bbe578666d6387cfb21e2 to your computer and use it in GitHub Desktop.
Save yakimelon/9d66d503e70bbe578666d6387cfb21e2 to your computer and use it in GitHub Desktop.
class TimelineTableViewCell: UITableViewCell {
@IBOutlet weak var userName: UILabel!
@IBOutlet weak var animalImage: UIImageView!
@IBOutlet weak var animalMovie: AVPlayerView?
override func awakeFromNib() {
super.awakeFromNib()
self.userName.adjustsFontSizeToFitWidth = true
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment