Skip to content

Commit

Permalink
[feat] FeedDetailTableViewCell prepare 적용 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
BAEKYUJEONG committed Oct 13, 2024
1 parent 6fbc33a commit ae17751
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions PLUV/Feed/FeedDetailTableViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,11 @@ final class FeedDetailTableViewCell: UITableViewCell {
}
}

func prepare(music: Music) {
let thumbNailUrl = URL(string: music.imageURL)
self.thumbnailImageView.kf.setImage(with: thumbNailUrl)
self.songTitleLabel.text = music.title
self.singerLabel.text = music.artistNames
}
}

0 comments on commit ae17751

Please sign in to comment.