title: How to apply tint color to NSButton (style Inline) cocoa
body: <p>How to apply tint color to NSButton of style  <code>inline</code> and visual <code>bordered</code>
  Below is block of code i am using</p>
  <p>Round one is inline button<br />
  <a href="https://i.stack.imgur.com/ruEdZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ruEdZ.png" alt="round one is button" /></a></p>
  <p>After using the below code</p>
  <p><a href="https://i.stack.imgur.com/j9o3D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j9o3D.png" alt="enter image description here" /></a></p>
  <pre><code>InlineButton.wantsLayer = YES;
          InlineButton.layer.backgroundColor = [NSColor redColor].CGColor;
  </code></pre>
  <p>how to change only tint of button</p>
  <p>Any suggestion would be more helpful.</p>