Skip to content

Instantly share code, notes, and snippets.

@dalu93
Last active March 14, 2017 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalu93/d8df11fe823a5c5a43ba11ee3dd58d6d to your computer and use it in GitHub Desktop.
Save dalu93/d8df11fe823a5c5a43ba11ee3dd58d6d to your computer and use it in GitHub Desktop.
final class SongClipTableViewCell: UITableViewCell {
@IBOutlet fileprivate weak var _coverImageView: UIImageView!
@IBOutlet fileprivate weak var _titleLabel: UILabel!
@IBOutlet fileprivate weak var _artistLabel: UILabel!
func set(_ clip: SongClip) {
_coverImageView.imageURL = clip.coverImageURL
_titleLabel.text = clip.title
_artistLabel.text = clip.artist
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment