//
//  BMSConstant.swift
//  BMSLocationFinder
//
//  Created by Ashutosh on 03/04/2015.
//  Copyright (c) 2015 Ashutosh. All rights reserved.
//

import Foundation
import UIKit

//Enum to define place type
enum PlaceType: NSInteger {
    case Food = 1
    case Gym
    case Hospital
    case Restaurant
    case School
    case Spa
}

struct constantStruct {
    static let IS_OS_8_AND_ABOVE = (UIDevice.currentDevice().systemVersion as NSString).floatValue >= 8.0
}

//Application specific constant
struct urlStruct {
    static let baseURL = "https://maps.googleapis.com/maps/api/place/"
    static let placeSearchURL = "nearbysearch/json?"
    static let photoFetchURL = "photo?"
    static let APIKey = "AIzaSyAs1tk8BpcNyDqMd3stybMXEyuika1G90c"
}

struct notificationStruct {
    static let didSetFavorite = "Did Set Favorite"
}
