I have a UIView control (white rectangle in the image)

Alternatively, I can drag this control ...

And when I click the button, I load the subview, which is another that I created, and I placed random controls in it to illustrate my point ...

If you are interested in knowing how I placed this nib file in this UIView control, check out this question. I do not want you to read it in order to understand my question.
In any case, the problem when loading this nib file is that I can no longer drag the top UIView. Because of this, I changed:

for

in UIView a preview. In other words, the UIView of the nib file that I put in the UIView that has a white background.
and when I did this, I managed to drag the control, but the controls inside the view no longer work. I also tried putting the touchhesMoved method in a subview instead, but when I do this, the application behaves strangely. In addition, the purpose of placing the nib file in the UIView control was to avoid repeating the same drag and drop function across multiple nib files.
I really need to create an application, such as a Power Point presentation, and I need to change the slide since the user will copy the UIView, and if its cords are less than x, for example, I load the next slide (nib file) in that uiview. Maybe there is an easier way to do what I need, but if I get it drag and drop to work, I am done because I just need to do this function only once.