From f8c60d89c14505da74d03ea3c43db182d6cd8e5b Mon Sep 17 00:00:00 2001 From: Jonathan Jordan Date: Wed, 6 May 2020 19:00:52 -0700 Subject: [PATCH] Make scrollViewDidScroll so it can be overridden --- CardParts/src/Classes/CardsViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CardParts/src/Classes/CardsViewController.swift b/CardParts/src/Classes/CardsViewController.swift index 394b9ed9..f2afcde7 100644 --- a/CardParts/src/Classes/CardsViewController.swift +++ b/CardParts/src/Classes/CardsViewController.swift @@ -463,7 +463,7 @@ extension CardsViewController { } // calls for visibility of card when the scroll view scrolls - public func scrollViewDidScroll(_ scrollView: UIScrollView) { + open func scrollViewDidScroll(_ scrollView: UIScrollView) { notifyCardsVisibility() } }