Objective-c question

Discussion in 'Mac Programming' started by kurushetra, Mar 19, 2009.

  1. macrumors newbie

    Mar 19, 2009
    hello i am trying to do an app what show a list of selected files and then if you click in the name of one file open the file in a NStextview, the problem is what i dont know what object to use for the list i try a NStableview but i dont know if it is possilbe to do double click and open the file also the items in the list must be a selection depends of the contents of the file, if they have some particular words...¿somebody have any solution and a little code for help for the list and the click in the items?...
  2. macrumors 6502a

    Jun 8, 2005
    You are asking for a lot in once. Do you have any programming experience, or are you just starting out? Because if it is the first, it's best to stay away from GUI's and learn objective-c first.
    If you already know something about obj-c, look in the docs for NSTableview and you will find "setDoubleAction". The documentation is your friend.
  3. thread starter macrumors newbie

    Mar 19, 2009

    thanks i find the way in the documentation...

Share This Page