title: How can I make angled corners on a UIView?
body: <p>There's LOTS of questions on here about making a <code>UIView</code>'s corners rounded. Unfortunately I can't find anything for how to make <em>angled</em> corners. How can I make a <code>UIView</code> with corners cut at a 45 degree angle instead?</p>
  
  <p>You can even have a bonus (figurative) gold star if you can show me how to make <em>any individual</em> corner cut at an angle.</p>
  
  <p>Edit: For reference, <a href="https://stackoverflow.com/questions/9034328/how-do-i-round-only-the-top-two-corners-of-a-uilabel/">here's a link</a> to a question that I suspect has a similar implementation to this solution. I just don't know what I'd have to change.</p>