 import UIKit
 import MapKit
 import Parse
+import PureLayout
 
 private enum EmptyListLabelText: String {
     case Loading = "Loading...",

            }
        }
    }

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

    private var searchDistance: CLLocationDistance = 500
    
    let tableHeaderLabel: UILabel = UILabel()
    let distanceStepper: UIStepper = UIStepper()
    let tableHeaderView: UIView = UIView()
    
    // MARK: - View cycle
    
    override func viewDidLoad() {
        super.viewDidLoad()
        setupTableView()
    }
    
    override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(animated)
        PFAnalytics.trackEventInBackground("Nearby", block: nil)
        refreshTableHeaderView()
        refreshNearbyItems()
        let location = BRCAppDelegate.sharedAppDelegate().locationManager.location
        BRCGeocoder.sharedInstance().asyncReverseLookup(location.coordinate, completionQueue: dispatch_get_main_queue()) { (locationString: String!) -> Void in
