Re: NSTextView HICocoaView performance
Re: NSTextView HICocoaView performance
- Subject: Re: NSTextView HICocoaView performance
- From: Marcel Weiher <email@hidden>
- Date: Thu, 9 Apr 2009 07:42:23 -0700
On Apr 9, 2009, at 1:06 , Ryan Joseph wrote:
I was really excited when Apple released HICocoaView so in
particular I could use NSTextView in my Carbon apps. However, this
thing has some pretty serious performance issue when resizing and
when adding/removing lines (return or deleting while type). Resizing
is painfully slow and choppy but the real issue is typing return
which causes delays, very annoying. Has anyone noticed this (maybe
it's just my code?) and knows of a fix? I'm thinking this could be
partially related to NSScrollView as both the operations involve
scrolling. Honestly I'm surprised this made it to release with this
kind of performance blunder. Any suggestions are greatly
appreciated. Thanks.
Have you sampled? Sharked?
How large is your test? What is it? Have you tried the same text in
TextEdit (which is also based on NSTextView + NSScrollView)? How does
it compare?
You give us almost no information to go on here...
Cheers,
Marcel
_______________________________________________
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