Preference pane - Add action on button

136 views Asked by At

I am a Windows Programmer and I create a first my program for Mac OS X. In XCode with wizard I create a preference pane and add button, but I dont know how I can add action for this button. This action must run external program.

How I can add this action?

Sorry for my bad english

1

There are 1 answers

1
Shamsudheen TK On

Write a method as IBAction then assign the action through drag and drop.

- (IBAction)checkboxClicked:(id)sender