title: iOS analog for inflating a view from a layout (xib)
body: <p>I'm new to iOS and trying to rewrite an app from android.
  What I do in Android - I have a layout - same as nib in xcode</p>
  
  <p><a href="https://i.stack.imgur.com/Oq2wT.png" rel="nofollow"><img src="https://i.stack.imgur.com/Oq2wT.png" alt="enter image description here"></a></p>
  
  <p>And then I inflate this view as many times I want - same as ListView (TableView's android analog) is working</p>
  
  <p>I need to do this on iOS :
  <a href="https://i.stack.imgur.com/444ea.png" rel="nofollow"><img src="https://i.stack.imgur.com/444ea.png" alt="enter image description here"></a></p>
  
  <p>which means having some container like Android's horisontal LinearLayout where I can add nib's with their class - like UITableViewCell and fill data.
  When I asked one person who is iOS developer, he told me that it is almost impossible to do due to compexity and lack of android-like ViewGroups and that it's better to do in a WebView than natively.</p>
  
  <p>So please, tell me , is there a solution - to inflate as many views as needed from a nib into container-views one under another ? Please answer in Swift, I don't know Obj-c at all</p>