slow drawing custom NSViews
slow drawing custom NSViews
- Subject: slow drawing custom NSViews
- From: Chris Meyer <email@hidden>
- Date: Tue, 10 Jul 2001 12:17:04 -0700
I have a custom view derived from NSView that takes a long time to
draw. It is a container view and has sub-views. It is opaque.
Does anyone know what is the best way to prevent it from redrawing
completely when one of the sub-views needs to be redrawn? For
instance, one of the sub-views might be a button and when the button
is pressed it needs to redraw from its opaque ancestor which will be
my slow drawing view... Performance is terrible! Help!
Thanks for any help!