On Sep 27, 2013, at 23:39 , "Gerriet M. Denkmann" <gerr...@mdenkmann.de> wrote:

> My CustomView (aka DriftView) has no subviews at all. It only has a 
> superview: the ScrollView.

What I was trying to draw your attention to is that the backtrace tells you 
that the dirty region is complex (i.e. not a simple rectangle) in that 
scenario. Complex enough that it required 4 levels of recursion to produce the 
1-pixel update rect.

If this is not the result of what's inside the view, then it presumably results 
from what is over the view -- there may be invisible windows (not necessarily 
belonging to your app) or something along that line. Or perhaps you're using 
3rd-party code that does a setNeedsDisplayInRect with that small rect for some 
hinky reason of its own. The fact that the dirty region ends up being like this 
is essentially an implementation detail, not an indication of anything wrong, 
or of any state that you need to be aware of.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to