title: How to set image in circle in swift
body: <p>How can i make i circle picture with swift ?</p>
  
  <p>My ViewController :</p>
  
  <pre><code>import UIKit
  import Foundation
  
  class FriendsViewController : UIViewController{
  
      @IBOutlet weak var profilPicture: UIImageView!
  
      override func viewDidLoad() {
          super.viewDidLoad()
          profilPicture = UIImageView(frame: CGRectMake(0, 0, 100, 100))
      }
  }
  </code></pre>
  
  <p>My <code>profilPicture = UIImageView(frame: CGRectMake(0, 0, 100, 100))</code> do nothing ..</p>
  
  <p>Exemple: <a href="http://www.appcoda.com/ios-programming-circular-image-calayer/">http://www.appcoda.com/ios-programming-circular-image-calayer/</a></p>