title: Swift add badge to navigation barButtonItem and UIButton
body: <p>I am trying to display badge on my notification button, in app as displayed on AppIcon. </p>
  
  <p>So far whatever i have researched is related to Obj. C, but nothing that specifically discussed way to implement that solution into Swift, </p>
  
  <p>Please help to find a solution to add a custom class / code to achieve Badge on UiBarbutton and UiButton. </p>
  
  <p>Researched so far:</p>
  
  <p><a href="https://github.com/Marxon13/M13BadgeView" rel="noreferrer">https://github.com/Marxon13/M13BadgeView</a></p>
  
  <p>along with MKBadge class etc.</p>