Many thanks for these ideas. As the user scrolls one of the table views, the system does not render all the details in the rows correctly. The most obvious one :- I draw my own lines between rows - inserting separator lines where appropriate. Hence, I override drawRect. The process in here to calculate the placement of lines is too long - hence the system, on occasions, will not draw them.
So, what I want to do is watch for when the user has finished scrolling and then do a display on the tableview - which works fine. Thanks for your suggestion - I’ll check them out. Peter > On 30 Sep 2015, at 12:19, [email protected] wrote: > > Check the NSScrollView notifications. > However you could try to observe changes to the NSClipView bounds. > You could also observe scroll events and so forth. > But ultimately you will run into semantics. Resting touches, momentum phases, > some slight ambiguity on whether the user feels done scrolling vs mentally > figuring out if they have scrolled near where the want to go quickly and > might stop and slow down and back up a bit. > > Question to you is, what are you trying to accomplish ? > > Sent from my iPhone > >> On Sep 30, 2015, at 7:45 PM, Peter Hudson <[email protected]> wrote: >> >> I would like to know when the user has finished scrolling one of my table >> views. >> I can’t see any obvious API to do it. ( I’ve checked the scrollers, views >> etc which are part of an NSTableView) >> >> All suggestions gratefully received. >> >> Peter >> _______________________________________________ >> >> Cocoa-dev mailing list ([email protected]) >> >> 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/dangerwillrobinsondanger%40gmail.com >> >> This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
