質問

I have the NSArrayController and NSTableView, also linked "add" button with add method of NSArrayController. When I clicked the add button - it just create new row at NSTableView.
I wish to show my custom wizard, where user can input all necessary information. What is the best way to do it?

役に立ちましたか?

解決

As you need to do some custom action you need to do it programatically.

Create an outlet for the NSArrayController.

Create an IBAction for the Add button. Show your wizard here.

Then call the add method for NSArrayController.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top