• 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: NSWindow subclass VERY slow to resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSWindow subclass VERY slow to resize (From: Daniel Weber <email@hidden>)
 >Re: NSWindow subclass VERY slow to resize (From: Jens Alfke <email@hidden>)
 >Re: NSWindow subclass VERY slow to resize (From: Daniel Weber <email@hidden>)

  • Prev by Date: Re: NSWindow subclass VERY slow to resize
  • Next by Date: Accessing Regional iVars: Best Design Method
  • Previous by thread: Re: NSWindow subclass VERY slow to resize
  • Next by thread: How to catch modal window appearance?
  • Index(es):
    • Date
    • Thread