Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top