Help with detailed TableView

Discussion in 'Mac Programming' started by Chrjy, May 28, 2012.

  1. Chrjy macrumors 6502a


    May 19, 2010
    I'm new to TableViews so bear with me on this!

    Basically I have an NSTextView and an NSTableView, when text is typed into the textview it can be added to the tableview by the click of a button...pretty straight forward.

    Now here's where I need help. As the textview could hold an infinite amount of text it's obvious that if, let's say, a paragraph of information was typed and then added to the tableview cell only a small proportion of that text would be visible.

    What I want to do is when the user clicks on a tableview cell it animates to the left and then shows the full text. The user could then edit that text and return to the tableview list and the tableview would obviously update with the necessary changes.

    I'm not too worried about the table updating, I think I can do that myself but what I can't figure out is where I need to start to get the tableview to animate and then to show all the text?!

    Is it something to do with a detailedView?

    Thanks for any help on this.

Share This Page