I'm interested in creating a view(controller) that is slideable over another.
For example, I have a container view with two VCs,
i want the bottom VC to be able to be dragged all the way to the top, covering the VC on top.
I know I need a PanGestureRecognizer, but not sure if I should be creating these viewcontrollers in storyboard or doing all of this programatically.
So far I have two viewcontrollers, in a containerVC, displaying all the content correctly. What I don't know is how to add a gestureRecognizer to the bottom VC and manipulate the position.
Should I add the recognizer to the ContainerVC, or to the ViewController that I'm dragging?