         return Geohash.encode(latitude: latitude, longitude: longitude, length: length)
     }
 }
+
+#endif

    return arr
}

// MARK: - CLLocationCoordinate2D

extension CLLocationCoordinate2D {
    init?(geohash: String) {

// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation

class Geohash {
    static func decode(hash: String) -> (latitude: (min: Double, max: Double), longitude: (min: Double, max: Double))? {
