title: UIRefreshControl not Dissapearing
body: <p>The pull to refresh is not disappearing. There is only 3 rows visible on the screen and after using <code>print(indexPath.row)</code> I can see that it is reloading rows 0,1,2 again but the refresh control is not disappearing.</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad() ... 
          refreshControl = UIRefreshControl()
          refreshControl!.addTarget(self, action: #selector(self.loadData), forControlEvents: UIControlEvents.ValueChanged)
          refreshControl!.backgroundColor = UIColor.clearColor()
          refreshControl!.tintColor = UIColor.clearColor()
          tableView.addSubview(refreshControl!)...}
  </code></pre>
  
  <p>Here is the loadData function:</p>
  
  <pre><code>func loadData() {
      venues = [CKRecord]()
  
      let location = locationManager.location
  
      let radius = CGFloat(1000)
  
      let sort = CKLocationSortDescriptor(key: "Location", relativeLocation: location!)
  
      let predicate = NSPredicate(format: "distanceToLocation:fromLocation:(%K,%@) &lt; %f", "Location", location!, radius)
  
      let publicData = CKContainer.defaultContainer().publicCloudDatabase
  
      let query = CKQuery(recordType: "Venues", predicate: predicate )
  
      query.sortDescriptors = [sort]
  
  
      publicData.performQuery(query, inZoneWithID: nil) { (results:[CKRecord]?, error:NSError?) in
          if let venues = results {
              self.venues = venues
              dispatch_async(dispatch_get_main_queue(), {
                  self.tableView.reloadData()
              })
  
          }
      }
  }
  </code></pre>