Data not written immediately to nstextview
Data not written immediately to nstextview
- Subject: Data not written immediately to nstextview
- From: MANISH CHATURVEDI <email@hidden>
- Date: Thu, 18 Jan 2007 12:44:01 +0530 (IST)
Hi All,
i m trying to write to NSTextView using following code segment,
NSRange range = NSMakeRange([[loggingTextView textStorage] length],0);
[loggingTextView replaceCharactersInRange:range withString:aString];
[loggingTextView scrollRangeToVisible:range];
But the data is not written (or shown) immediately in the NSTextView, it is shown only after completion of the method that contains this code segment. As the method performs a bulk of task, NSTextView shows data after a significant delay.
is there any problem in my code, or any property NSTextView not set properly.
is there any threading concept.
Please help me ASAP.
Thanks,
Manish
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden