In my iOS Application i have to match the elements like below image , How to draw the line between selected views. What kind of guesstures i have to use. Thanks in advance.
let line_path:CGMutablePath = CGMutablePath()
line_path.move(to: CGPoint(x:x1, y:y1))
line_path.addLine(to: CGPoint(x:x2, y:y2))