Re: prompt display
Re: prompt display
- Subject: Re: prompt display
- From: SA Dev <email@hidden>
- Date: Tue, 10 May 2005 06:20:27 -0400
Terse suggestions are my specialty. :-D Just remember to use your
CPU cycles wisely. If this is a top-level view with many subviews and
you're doing this rapidly in a loop, your app's performance will
likely suffer. If it doesn't absolutely have to be there right away,
you can just setNeedsDisplay to flag it for drawing later.
On May 9, 2005, at 11:17 PM, Roland Silver wrote:
SA Dev, thanks! your terse suggestion did the trick:
[textView display];
------------------------------
The context was
Anish,
Thanks for your reply; I tried the following, but "Fubar" is not
displayed in the text view until the "Open"event which caused the
code fragment to be performed was completed.
NSString *aString;
aString = [NSString stringWithCString:"Fubar"];
[textView insertText:aString];
[textView setNeedsDisplay:YES];
_______________________________________________
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