embedding views
method 1 :add a UIView (+ btn from upper tool bar) and drag a view in to it :
method 2 : select views->editor->embed in->view
method 3 :select views and then click the embed button
an error will prompt you to set the containing views constraints or a constraint embedding it: