title: SVPullToRefresh + SVInfiniteScrolling in Swift code
body: <p>Im using SVPullToRefresh + SVInfiniteScrolling on swift code base. How do I write </p>
  
  <pre><code>[tableView addPullToRefreshWithActionHandler:^{
      // prepend data to dataSource, insert cells at top of table view
      // call [tableView.pullToRefreshView stopAnimating] when done
  }];
  </code></pre>
  
  <p>and </p>
  
  <pre><code>[tableView addPullToRefreshWithActionHandler:^{
      // prepend data to dataSource, insert cells at top of table view
      // call [tableView.pullToRefreshView stopAnimating] when done
  } position:SVPullToRefreshPositionBottom];
  </code></pre>
  
  <p>in swift code ?</p>