class func sharelocationInstance() -> locationTool{
struct Singleton {
static var predicate:dispatch_once_t = 0
static var instance:locationTool? = nil
}
dispatch_once(&Singleton.predicate, {
Singleton.instance = locationTool()
})
return Singleton.instance!
}