title: How can you rotate text for UIButton and UILabel in Swift?
body: <p>How can you rotate text for <code>UIButton</code> and <code>UILabel</code>? 90 degrees, 180 degrees.</p>
  
  <p><strong>Note:</strong> Before you mark this as a duplicate, I am intentionally modelling my question as a Swift version of this one: <a href="https://stackoverflow.com/questions/6326720/objective-c-how-can-you-rotate-text-for-uibutton-and-uilabel">How can you rotate text for UIButton and UILabel in Objective-C?</a></p>