Create a custom NSButton in Cocoa and Objective-C
I'd like to create a custom NSButton that I can use throughout my app. It should look something like this:

![screenshot of button][1]


  [1]: http://i.stack.imgur.com/aCiL7.png

The background of the window is the textured part and the button should have a 50% black opacity background so the textured background bleeds through. This could be done programmatically or as a separate PNG. The clicked state should be slightly depressed, like a normal square button.

How do I go about creating this in a way that allows me to use this across my app as a shared class?

Thanks!
Create a custom NSButton in Cocoa and Objective-C
===

I'd like to create a custom NSButton that I can use throughout my app. It should look something like this:

![screenshot of button][1]


  [1]: http://i.stack.imgur.com/aCiL7.png

The background of the window is the textured part and the button should have a 50% black opacity background so the textured background bleeds through. This could be done programmatically or as a separate PNG. The clicked state should be slightly depressed, like a normal square button.

How do I go about creating this in a way that allows me to use this across my app as a shared class?

Thanks!