I need a suggestion for making a "console" window
I need a suggestion for making a "console" window
- Subject: I need a suggestion for making a "console" window
- From: Michael Heinz <email@hidden>
- Date: Sun, 25 Apr 2004 22:25:28 -0400
I'm working on an app that has a textview for displaying debug, warning
and error messages. Currently, each message is added by getting the
text from the view, appending the new text and setting the text to the
textview again.
As you might imagine this isn't very efficient, especially once the
amount of text becomes large. So, my question is "is there a more
efficient way to do this?"
1) I couldn't find a method that would allow me to just append text to
the existing contents of the textview. Is there a way to do that?
2) Is there an efficient way to use, say, a ring buffer of fixed
length, or a fixed # of lines, and display that?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.