title: circle image in cell imageView and how to resize it?
body: <p>I have in a ViewController tableView with the identifier "Cell". This is my code:</p>
  
  <pre><code>func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as UITableViewCell
  
      var url = NSURL(string: postCover[indexPath.row])
      let data = NSData(contentsOfURL: url!) //make sure your image in this url does exist, otherwise unwrap in a if let check
  
      cell.imageView?.contentMode = .ScaleAspectFit
      cell.imageView?.clipsToBounds = true
  
      cell.imageView?.image = UIImage(data: data!)
      cell.textLabel?.text = postTitle[indexPath.row]
  
      cell.imageView?.layer.cornerRadius =  20
      cell.imageView?.layer.masksToBounds = true;
  
      return cell
  }
  </code></pre>
  
  <p>So, <code>cornerRadius</code> works, but one of the problem is that my image in the cell(<code>cell.imageView?.image</code>) height is equal to row height and I cannot change neither height, nor width of this cell image.</p>
  
  <p>When I try </p>
  
  <pre><code>cell.imageView?.frame.size.width = 100
  </code></pre>
  
  <p>nothing changes. Who knows, what is the problem?</p>
  
  <p>And as I cannot control my image height and width I get as result rectangle with the border radius, but I want to have a square(w: 100, h: 100).</p>