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