AlextaNET
AlextaNET

Reputation: 55

How to make a own Button Class

I need help for make a own button class and linking this with the buttons made with Interface Builder, because a need change it background color, etc, with xcode, and this is only possible making a own button class, I think. Someone can help me, please? Thanks for advance.

Upvotes: 0

Views: 326

Answers (1)

Jonah
Jonah

Reputation: 17958

You can subclass NSButton if you want most of its behavior. Otherwise you can subclass NSControl to make your own button class. Either way I think you need to provide more detail about where you are stuck and what you need to know before I could provide a more specific answer.

Upvotes: 1

Related Questions