Adding to NSTextView in a for loop
Adding to NSTextView in a for loop
- Subject: Adding to NSTextView in a for loop
- From: Paul Gribble <email@hidden>
- Date: Thu, 30 Mar 2006 23:12:28 -0500
- Thread-topic: Adding to NSTextView in a for loop
I have something like the following:
int i;
for (i=1; i<1000; i++) {
[myView insertText: @"this is a test\n"];
}
What I observe is that each inserted text does not show up incrementally...
rather I see nothing until the loop is finished and then it all appears at
once.
Is there a way to have it appear incrementally, i.e. each time through the
loop another line appears?
Thanks,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden