Latest 1.2.2
Homepage https://github.com/truebucha/LMGeocoderUniversal
License MIT
Platforms ios 10.0, osx 10.10, requires ARC
Frameworks Foundation, CoreLocation
Authors ,

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

add to info.plist

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
    <key>NSExceptionDomains</key>
    <dict>
        <key>maps.googleapis.com</key>
        <dict>
            <key>NSExceptionAllowsInsecureHTTPLoads</key>
            <true/>
            <key>NSIncludesSubdomains</key>
            <true/>
        </dict>
    </dict>
</dict>
    LMGeocoder * geocoder = [LMGeocoder geocoder];
    NSArray * result = [geocoder geocodeAddressString: @"Minsk. Belarus"
                                              service: kLMGeocoderGoogleService
                                                error: nil];
    NSLog(@"%@", [(LMAddress *)result.firstObject country]);

Requirements

Installation

LMGeocoderUniversal is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'LMGeocoderUniversal'

Author

truebucha, [email protected]

License

LMGeocoderUniversal is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "LMGeocoderUniversal",
    "version": "1.2.2",
    "summary": "Second Life of LMGeocoder by LMinh.",
    "description": "Simple wrapper for geocoding and reverse geocoding, using both Google Geocoding API and Apple iOS Geocoding Framework.",
    "homepage": "https://github.com/truebucha/LMGeocoderUniversal",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "truebucha": "[email protected]",
        "LMinh": "[email protected]"
    },
    "source": {
        "git": "https://github.com/truebucha/LMGeocoderUniversal.git",
        "tag": "1.2.2"
    },
    "social_media_url": "https://twitter.com/truebucha",
    "platforms": {
        "ios": "10.0",
        "osx": "10.10"
    },
    "source_files": "LMGeocoderUniversal/Classes/**/*",
    "frameworks": [
        "Foundation",
        "CoreLocation"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This