Home » iOS » Swift

Category: Swift

Posts about Swift

I’m learning how to program apps for the iPhone. All posts about Swift programming — essentially all of them — will go here. Basically, here is where I “offshore” all my swift learnings.

UIGestureRecognizer not working with overlapping views

Problem Overlapping views not working I have a hand of cards that are arranged horizontally and overlapping. The UIGestureRecognizer is not working properly in the areas where the cards intersect/overlap. See the image below: Background: The problem has to do with how the UIViews are placed onto the main view. I was programmatically setting the x, y, and z positions of each …

Read more