lolopolosko
lolopolosko

Reputation: 61

Preference pane - Add action on button

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

Upvotes: 0

Views: 139

Answers (1)

Shamsudheen TK
Shamsudheen TK

Reputation: 31311

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

- (IBAction)checkboxClicked:(id)sender

Upvotes: 1

Related Questions