Skip to content

Instantly share code, notes, and snippets.

@MaherKSantina
Created July 24, 2018 08:26
Show Gist options
  • Save MaherKSantina/f2b99384fc63035bff3ba9be596cc735 to your computer and use it in GitHub Desktop.
Save MaherKSantina/f2b99384fc63035bff3ba9be596cc735 to your computer and use it in GitHub Desktop.
MSPCVDI Snippet 4
public func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
currentScrollOffset = scrollView.contentOffset
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment