mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-20 10:16:16 +10:00
make imageView in InstagramMediaCell & DribbbleShotCell ScaleAspectFill
This commit is contained in:
@@ -18,7 +18,8 @@ class DribbbleShotCell: UICollectionViewCell {
|
||||
|
||||
override func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
// Initialization code
|
||||
|
||||
imageView.contentMode = .ScaleAspectFill
|
||||
}
|
||||
|
||||
func configureWithDribbbleShot(shot: DribbbleWork.Shot) {
|
||||
|
||||
@@ -18,7 +18,8 @@ class InstagramMediaCell: UICollectionViewCell {
|
||||
|
||||
override func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
// Initialization code
|
||||
|
||||
imageView.contentMode = .ScaleAspectFill
|
||||
}
|
||||
|
||||
func configureWithInstagramMedia(media: InstagramWork.Media) {
|
||||
|
||||
Reference in New Issue
Block a user