Re: Adding to NSTextView in a for loop
Re: Adding to NSTextView in a for loop
- Subject: Re: Adding to NSTextView in a for loop
- From: Paul Gribble <email@hidden>
- Date: Thu, 30 Mar 2006 23:21:08 -0500
- Thread-topic: Adding to NSTextView in a for loop
OK I gave up way too soon
[myView display];
On 3/30/06 11:12 PM, "Paul Gribble" <email@hidden> wrote:
> 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