title: Use different tableview cells in edit mode
body: <p>I want to make something similar as in Contacts app:</p>
  
  <p>There are some cells for standard mode
  <img src="https://i.stack.imgur.com/mjo4c.png" alt="enter image description here">
   and others for edit mode.
  <img src="https://i.stack.imgur.com/Qr6Jq.png" alt="enter image description here">
  What I tried is:</p>
  
  <pre><code>override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      if self.editing{
          let cell = tableView.dequeueReusableCellWithIdentifier(TextFieldCellIdentifier, forIndexPath: indexPath) as TextFieldTableViewCell
          return cell
      }else{
          let cell = tableView.dequeueReusableCellWithIdentifier(ButtonCellIdentifier, forIndexPath: indexPath) as ButtonTableViewCell
          return cell
      }
  }
  </code></pre>
  
  <p>Where and how should I trigger cells reloading?</p>