Is there a way to verify if a CGPoint is inside a specific CGRect.
CGPoint
CGRect
An example would be: I\'m dragging a UIImageView and I want t
UIImageView
In swift you can do it like this:
let isPointInFrame = frame.contains(point)
"frame" is a CGRect and "point" is a CGPoint