title: How can I do programmatically gradient border color UIButton with Swift
body: <p>How can I design programmatically UIButton like this gradient border color?</p>
  
  <p><img src="https://i.stack.imgur.com/9j8yU.jpg" alt="Gradient button">]</p>
  
  <p>Thanks for help</p>