Swift Circle Image View
<p>I'm trying to create a circle imageView for a user's profile picture in my tableViewCell. I've set up the constraints in my code like so, </p>

<pre><code>        cell.creatorImageView = UIImageView()
        cell.creatorImageView?
            .translatesAutoresizingMaskIntoConstraints = false
        cell.creatorImageView!.image = UIImage(named: "memoryCardBack")
        cell.creatorImageView!.layer.cornerRadius =
            (cell.creatorImageView?.bounds.width)! / 2
        cell.creatorImageView?.clipsToBounds = true
        cell.profileCreatorView?.addSubview(cell.creatorImageView!)

        NSLayoutConstraint(item: cell.creatorImageView!, attribute: .Width,
            relatedBy: .Equal, toItem: nil, attribute: .NotAnAttribute,
            multiplier: 1, constant: 44).active = true

        NSLayoutConstraint(item: cell.creatorImageView!,
            attribute: .Height, relatedBy: .Equal, toItem: nil,
            attribute: .NotAnAttribute, multiplier: 1, constant: 44)
            .active = true

        NSLayoutConstraint(item: cell.creatorImageView!, attribute: .Top
            , relatedBy: .Equal, toItem: cell.profileCreatorView,
            attribute: .Top, multiplier: 1, constant: 5).active = true

        NSLayoutConstraint(item: cell.creatorImageView!,
            attribute: .CenterX, relatedBy: .Equal,
            toItem: cell.profileCreatorView, attribute: .CenterX,
            multiplier: 1, constant: 0).active = true
</code></pre>

<p>I'm not too sure why the imageView isn't becoming a circle. </p>