PDA

View Full Version : Query for opening NSWindow from another NSWindow?




mkristain
Mar 14, 2012, 07:05 AM
hi all,

i have multiple NSWindow ,1 is my Main NSWindow that is firstly visible when application running,that have some buttons and some other controls,on clicking of button i open another NSWindow that have a NSTableView,i want when open this second window tableview must filled with some values.

i open the second window using runModalForWindow,
i dont understand where i insert value in second window

so please can anyone assist me.

thanks.



gnasher729
Mar 14, 2012, 07:53 AM
hi all,

i have multiple NSWindow ,1 is my Main NSWindow that is firstly visible when application running,that have some buttons and some other controls,on clicking of button i open another NSWindow that have a NSTableView,i want when open this second window tableview must filled with some values.

i open the second window using runModalForWindow,
i dont understand where i insert value in second window

so please can anyone assist me.

thanks.

Read the NSTableView class reference. On the very first page under "Overview" it tells you what to do.