What would be to the best way of implementing an interface which consists of UIViews which are separated by a line, and the line can resize the views?
In it\'s simplest
You do essentially need to make the line-view draggable, but it doesn't need to be complicated.
viewA
and viewB
into a containerView
containerView
configured for a single touch and set its delegate to your controller.gestureRecognizerShouldBegin:
from the UIGestureRecognizerDelegate
protocol and only allow it to begin if the touch in in the vicinity of the line-view.containerView
and set the line-view position and frames for viewA
and viewB
That's pretty much it.