title: How to make each tableview cell different sizes?
body: <p>How do I make the my first tableview cell twice the height of the rest of the following cells?</p>
  
  <p>This is my tableview code:  </p>
  
  <pre><code>override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return posts.count
  }
  
  override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCell(withIdentifier: "cell")
  
      let label1 = cell?.viewWithTag(1) as! UILabel
      label1.text = posts[indexPath.row].title
  
      let imageView = cell?.viewWithTag(2) as! UIImageView
      let post = self.posts[indexPath.row];
      imageView.sd_setImage(with: URL(string: post.downloadURL), placeholderImage: UIImage(named: "placeholder"))
  
      return cell!
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/y5mFU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y5mFU.png" alt="This is my storyboard for the tableview and its cell"></a></p>