title: Corner radius only for top and bottom left corner of a view
body: <p>I need to round corner only the top left and bottom left of a view, so i tried this:</p>
  
  <pre><code>func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell
  {
      let cell = tableView.dequeueReusableCell(withIdentifier: "teamCell", for: indexPath) as! TeamCell
  
      let view = cell.backgroundCellView
      let rectShape = CAShapeLayer()
      rectShape.bounds = (view?.frame)!
      rectShape.position = (view?.center)!
      rectShape.path = UIBezierPath(roundedRect: (view?.bounds)!, byRoundingCorners: [.topRight, .topLeft], cornerRadii: CGSize(width: 20, height: 20)).cgPath
      view?.layer.mask = rectShape
      view?.layer.masksToBounds = true
  
      return cell
  }
  </code></pre>
  
  <p>and it worked very well, but after I put the constraints (trailing, leading, top and botton - i need a responsive view) only the topLeft corner is rounded and not the other. How could i fix it?</p>