• 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
Data not written immediately to nstextview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Data not written immediately to nstextview
      • From: j o a r <email@hidden>
  • Prev by Date: Re: NSOutlineView space next to disclosure triangle
  • Next by Date: Re: Data not written immediately to nstextview
  • Previous by thread: Re: NSOutlineView space next to disclosure triangle
  • Next by thread: Re: Data not written immediately to nstextview
  • Index(es):
    • Date
    • Thread