• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding to NSTextView in a for loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Adding to NSTextView in a for loop (From: Paul Gribble <email@hidden>)

  • Prev by Date: Adding to NSTextView in a for loop
  • Next by Date: Re: $HOME not set?
  • Previous by thread: Adding to NSTextView in a for loop
  • Next by thread: CD: Splitting persistent stores between document and constant entities
  • Index(es):
    • Date
    • Thread