title: Return different value depends on different condition
body: <p>I got following code but it gives error "Missing return in a function expected to return 'Int'"
  so what is the right way to write this code to give different return value depends on different if condition?</p>
  
  <pre><code>override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      if category == "followings"{
          return usersRealNameFollowing.count
      }
      if category == "followers"{
          return usersRealNameFollower.count
      }
  }
  </code></pre>
  
  <p>Thanks!</p>