     }
     
 }
+
+fileprivate class Keys {
+    
+    private static let namespace = "tech.blacksource.blacknectar"
+    
+    static let searchRadius = namespace + "searchRadius"
+    static let showStores = namespace + "showStores"
+    static let showFarmersMarkets = namespace + "showFarmersMarkets"
+    static let useMyLocation = namespace + "useMyLocation"
+    static let useZipCode = namespace + "useZipCode"
+    static let zipCode = namespace + "zipCode"
+}

        
        get {
            
            return defaultPreferences.object(forKey: "showStores") as? Bool ?? true
            
        }
        
        set (value){
            
            defaultPreferences.set(value, forKey: "showStores")
            
        }
        

        
        get {
        
            return defaultPreferences.double(forKey: Keys.searchRadius)
        
        }
        
        set (value){
        
            defaultPreferences.set(value, forKey: Keys.searchRadius)
            
        }
        
