My code works for the most part.
cell.imageView?.layer.cornerRadius = 22.0 cell.imageView?.layer.masksToBounds = true