title: Swift 4 - imageview with two rounded corners in swift?
body: <p>I have a UIImageView inside of a UICollectionView Cell and I wanna make it' s top corners rounded. I couldn' t solve on my on, any help is appreciated.</p>
  
  <p>You can see cell has 10px corner radius and I want same effect to be applied on image too.</p>
  
  <p><a href="https://i.stack.imgur.com/etuLE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/etuLE.jpg" alt="Endeksa"></a></p>