• 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: NSTextView causes lockups when appending too quickly and/or scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView causes lockups when appending too quickly and/or scrolling


  • Subject: Re: NSTextView causes lockups when appending too quickly and/or scrolling
  • From: Steven Moore <email@hidden>
  • Date: Wed, 4 Jun 2008 15:54:58 -0700

Have you tried turning on GC? At least that will move object finalization into a background thread.


You might want to look at NSLayoutManager - setAllowsNonContiguousLayout:

With both of these changes in place, and a bit of optimization on my part (apparently, [[myTextView textStorage] paragraphs] comes with a lot of overhead.. not surprising, when I think about it), my app is in much better shape. I think the garbage collection helped the most.. pretty nifty stuff!


Thanks,
Steven
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: NSTextView causes lockups when appending too quickly and/or scrolling
      • From: Douglas Davidson <email@hidden>
References: 
 >NSTextView causes lockups when appending too quickly and/or scrolling (From: Steven Moore <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Nick Zitzmann <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Steven Moore <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Nick Zitzmann <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Ross Carter <email@hidden>)

  • Prev by Date: Re: 10.5 Only: If I say NO, NSOutlineView ignores cmd key, does its own thing
  • Next by Date: Re: invoking quicklook via code
  • Previous by thread: Re: NSTextView causes lockups when appending too quickly and/or scrolling
  • Next by thread: Re: NSTextView causes lockups when appending too quickly and/or scrolling
  • Index(es):
    • Date
    • Thread