         return cell
     }
     
+    // MARK: - UITableViewDelegate
+    
     override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
+        if !hasNearbyObjects() {
+            return
+        }
         let dataObject = sections[indexPath.section].objects[indexPath.row]
         let detailVC = BRCDetailViewController(dataObject: dataObject)
         navigationController!.pushViewController(detailVC, animated: true)
         tableView.deselectRowAtIndexPath(indexPath, animated: true)
     }
-}
+    
+}

            }
        }
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    private func hasNearbyObjects() -> Bool {
        if sections.count > 0 {

import UIKit
import MapKit
import Parse
import PureLayout

private enum EmptyListLabelText: String {
    case Loading = "Loading...",
