title: Build a UIView in Interface Builder
body: <p>There are similar posts about this topic, but my situation seems to be a little different. With that said, it also feels like it should be a common problem to overcome.</p>
  
  <p>I have a view controller (StatsViewController) that has a blank UIScrollView at the moment. What I'd like to do is create a custom UIView class, and lay it out using Interface Builder and then have the StatsViewController use this view multiple times. But it's an unknown number of times currently. Basically, the StatsViewController will be pulling in some JSON from a web service, looping through the service, and for each "loop" I'd like to instantiate a new view using my custom UIView and add it to the UIScrollView within the StatsViewController.</p>
  
  <p>My problem is when I create the UIView in interface builder, I can't figure out how to instantiate it using the nib through the loop. I read that you load view controllers using a nib, and not plain UIView's... but at the same time, I read that you can't (or shouldn't) have nested UIViewControllers, so I'm at a loss.</p>
  
  <p>If I create a custom view in Interface Builder, how can I instantiate it multiple times on the same view controller?</p>