Xcode – How to access state that's outside of scope
I am rendering multiple cards that are swipeable. I have a variable 'percentage' which increases a progress bar at the top of the screen. When a card is swiped to the right I want the bar to increase but the…