• 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: Daniel Weber <email@hidden>
  • Date: Fri, 26 Mar 2010 11:08:48 -0700

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 can set the
max size to something relative low, but does anyone have any other
suggestions?

How does a Finder window redraw so fast at large sizes?

On Fri, Mar 26, 2010 at 7:19 AM, Jens Alfke <email@hidden> wrote:
>
> On Mar 26, 2010, at 3:36 AM, Daniel Weber wrote:
>
>> Is there some way to speed this up? Could something else be going on?
>
> Sample it and find out. The way I do it is:
>
>        sleep 5; sample MyApp 5
>
> hit Return, immediately click your app’s window and start resizing. Keep going until the ‘sample’ command says it’s processing the samples.
>
> —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

  • Follow-Ups:
    • Re: NSWindow subclass VERY slow to resize
      • From: Jens Alfke <email@hidden>
    • Re: NSWindow subclass VERY slow to resize
      • From: "Paul Sanders" <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>)

  • Prev by Date: RE: Creating NSMappingModel programmatically
  • Next by Date: Re: How to catch modal window appearance?
  • Previous by thread: Re: NSWindow subclass VERY slow to resize
  • Next by thread: Re: NSWindow subclass VERY slow to resize
  • Index(es):
    • Date
    • Thread