GRNearByPlaceManger
class GRNearByPlaceManger
Undocumented
-
Undocumented
Declaration
Swift
static var shared = GRNearByPlaceManger() -
these properties holds the palces a/c to their type for PlaceVC
Declaration
Swift
var restaurants = [GRPlace]() -
Undocumented
Declaration
Swift
var companies = [GRPlace]() -
Undocumented
Declaration
Swift
var publicPlaces = [GRPlace]() -
Undocumented
Declaration
Swift
var restaurantsSelectedSubType = GRPlaceSubType.Restaurant -
Undocumented
Declaration
Swift
var companiesSelectedSubType = GRPlaceSubType.Hospital -
Undocumented
Declaration
Swift
var publicPlacesSelectedSubType = GRPlaceSubType.ShoppingMall -
Undocumented
Declaration
Swift
let radius : Double = 2 -
it will return the matching type of places with
GRPlaceSubType.allTypesName
propertyDeclaration
Swift
func getTypesOfPlace(place : GRPlace) -> [String] -
for getting the near by restaurants by types
Declaration
Swift
func getRestaurantsByTypes( type : String, callback : @escaping (_ place : GRPlace?) -> Void ) -
for getting the near by companies by types
Declaration
Swift
func getCompaniesByTypes( type : String, callback : @escaping (_ place : GRPlace?) -> Void ) -
for getting the near by public places by types
Declaration
Swift
func getPublicPlacesByTypes( type : String, callback : @escaping (_ place : GRPlace?) -> Void ) -
Undocumented
Declaration
Swift
func sortResturant() -
Undocumented
Declaration
Swift
func sortCompanies() -
Undocumented
Declaration
Swift
func sortPublicPlaces()
GRNearByPlaceManger Class Reference