title: creating a scrollview with data coming from database and variable number of elements for ios
body: <p>So I was trying to create a sample ios application. As I am designing the app UI with the storyboard (and not coding), I find Xcode really hard to understand.
  what I want to do is I added a scrollView to the view controller. now what I want to do in the scrollView is simple.</p>
  <p>I want my scrollView to have buttons (vertically stacked) and it does some action on the basis of the data it is getting from the database. let's suppose it is getting links from the database and on a click of those buttons those links open. now the data may contain 10 links, or 20 links .. basically, we want it to be according to the database.</p>
  <p>now if I was designing the UI programmatically it would look something like</p>
  <pre><code>ScrollView{
         for loop...{
            button(&quot;for example name coming from the  database&quot;
          }
   }
  </code></pre>
  <p>or atleast this is what I know of.</p>
  <p><a href="https://i.stack.imgur.com/Z6oE3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z6oE3.png" alt="storyboard " /></a></p>
  <p>so how to do the same with storyboard ?
  like we first take it's refernce to the uiViewController class.. and then ?</p>