Re: NSWindow subclass VERY slow to resize
Re: NSWindow subclass VERY slow to resize
- Subject: Re: NSWindow subclass VERY slow to resize
- From: Jens Alfke <email@hidden>
- Date: Fri, 26 Mar 2010 11:56:06 -0700
On Mar 26, 2010, at 11:08 AM, Daniel Weber wrote:
It appears that drawing the rounded rect vs. a regular rect is slow.
Also, I am filling using a pattern image vs. a solid color. These
things add up to a pretty slow redraw at large sizes.
I wouldn't expect those to be slow enough to notice. How many of them
are you drawing each time the window is resized? (Sampling won't tell
you that; you can add an NSLog call or get fancy and use Instruments.)
—Jens_______________________________________________
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