On Jan 8, 2013, at 3:59 AM, Martin Hewitson <martin.hewit...@aei.mpg.de> wrote:
> Maybe not. I just didn't know about this, but I will read up on it. However, 
> as far as my tests show, -drawRect: is never called on PDFView.

This seemed really odd, so I checked and it turns out there is a view hierarchy 
under PDFView. When you drop a PDFView into IB you can see it looks a lot like 
an NSScrollView. I bet it's one of those descendant views that is getting 
setNeedsDisplay: and drawRect: calls, which is why you didn't see them being 
called on your PDFView.

--Andy

_______________________________________________

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