Edit AllPages

Hello folks, I am trying to replicte the interface. So far I have learned I am supposed to put General/NSCell objects inside the General/NSTextView. I have not been able to draw a string inside the General/NSCell. This is a snippet from my code; the string I get from this method is inserted at the end of the text view with [textInView appendAttributedString:attachedTextString];

What is wrong? Is this the right way to implement this? I was not able to find a solution on the web or in the documentation… Thanks in advance, Davide