Query for opening NSWindow from another NSWindow?

Discussion in 'Mac Programming' started by mkristain, Mar 14, 2012.

  1. macrumors regular

    Joined:
    Aug 18, 2011
    #1
    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.
     
  2. macrumors G5

    gnasher729

    Joined:
    Nov 25, 2005
    #2
    Read the NSTableView class reference. On the very first page under "Overview" it tells you what to do.
     

Share This Page