On Mon, Jan 7, 2013, at 09:38 AM, Steve Mills wrote: > What's the correct way to handle drawing our custom view that's in an > NSScrollView when the scroll view is being pulled past the min/max of the > scrollable area and the elasticity goes into effect, showing areas that > are outside our view's bounds?
I don't believe there's a proper way to do this using public API. Hence rdar://problem/9610290 (NSScrollView: Need API for drawing beyond a view extent during elastic scroll). Please file a duplicate of this bug so Apple knows this issue needs to be addressed. In the meantime, maybe you could subclass NSScrollView and override -drawRect: to conspire with your view, but this is not a good general-purpose solution to the problem, and Apple should provide a better one. --Kyle Sluder _______________________________________________ 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