Hi, Wondering if anyone has an idea of why prepareContentInRect: is not called for a view when responsive scrolling is enabled.
We are using an NSScrollView subclass that overrides prepareContentInRect:. When I turn on View Debugging->Show Responsive Scrolling Status during a debug session, the scrollview area is tinted green indicating that everything is (or should be) in place for responsive scrolling. When the app is run and loads and displays a window, I can see, in the debugger, the document view’s drawRect: method being called repeatedly with dirty rects that suggest the overdraw regions are steadily being built. However, prepareContentInRect: is never called. To the best of my knowledge it should be. At least that is how I understand fit from the docs and from WWDC’14 Session 215 on responsive scrolling. An online search for issues with prepareContentInRect: did not turn up any results, suggesting that this may not be a common issue, and therefore that I may be missing some required implementation detail. Does anyone know what might be causing prepareContentInRect: not to be called when responsive scrolling does appear to be active? Anything obvious I should look for? (I have tried overriding prepareContentInRect: in the NSScrollView’s subclass, as well as in the view that serves as the scroll view’s document view. Neither of these methods gets called though.) -António ---------------------------------------------------- Energy is like a muscle, it grows stronger through being used. ---------------------------------------------------- _______________________________________________ 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