/JMMLocationEngine

iOS Location and Four Square Engine

Primary LanguageObjective-C

JMMLocationEngine

iOS Location, Four Square Engine and Google Place Engine

Whats New : Goolge Place Search,AutoComplete and NearbyPlaces

Getting Started

To use the Foursquare API or the Google API, you will first need to add the client keys. These can be found in the header files for JMMFoursquareAPIHelper and O16GooglePlacesAPIHelper

  • To get user Location

    Example :

    [JMMLocationEngine getBallParkLocationOnSuccess:^(CLLocation *loc) {
      
    } onFailure:^(NSInteger failCode) {
    
    }];
    
  • Reverse GeoCoding

    Example :

    [JMMLocationEngine getPlacemarkLocationOnSuccess:^(CLPlacemark *place) {
      
    } onFailure:^(NSInteger failCode) {
      
    }];
    
  • FourSquare Nearby Venues

    Example :

      [JMMLocationEngine getFoursquareVenuesNearbyOnSuccess:^(NSArray *venues) {
      
      } onFailure:^(NSInteger failCode) {
      
      }];
    
  • To get FourSquare Venue Search

    Example :

      [JMMLocationEngine getFoursquareVenuesNearbyWithSearchString:searchText onSuccess:^(NSArray *venues) {
      
      } onFailure:^(NSInteger failCode) {
      
      }];
    

Added Google Places API Methods including