Latest 0.1.0
Homepage https://github.com/koogawa/KGWLocationPicker
License MIT
Platforms ios 8.0
Frameworks UIKit, CoreLocation, MapKit
Authors

Simple location picker with a built in maps. The selected item can be returned to the calling controller as a CLLocationCoordinate2D.

Usage

  1. Link CoreLocation.framework and MapKit.framework to your project.
  2. Fill in NSLocationWhenInUseUsageDescription in your Info.plist if you use KGWLocationPicker on iOS 8 and above.
  3. Include the KGWLocationPickerViewController.h header
  4. Initialise the KGWLocationPicker
  5. Push the controller
KGWLocationPickerViewController *viewController =
[[KGWLocationPickerViewController alloc] initWithSucess:^(CLLocationCoordinate2D coordinate) {
    NSLog(@"Lat, Lng = %f, %f", coordinate.latitude, coordinate.longitude);
}
                                              onFailure:nil];

Installation

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

pod "KGWLocationPicker"

Requirements

KGWLocationPicker requires iOS 7.0 and above.

Creator

Kosuke Ogawa

License

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

Latest podspec

{
    "name": "KGWLocationPicker",
    "version": "0.1.0",
    "summary": "Simple location picker with a built in maps.",
    "description": "Simple location picker with a built in maps. The selected item can be returned to the calling controller as a CLLocationCoordinate2D.",
    "homepage": "https://github.com/koogawa/KGWLocationPicker",
    "license": "MIT",
    "authors": {
        "koogawa": "[email protected]"
    },
    "source": {
        "git": "https://github.com/koogawa/KGWLocationPicker.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "KGWLocationPicker/*",
    "resource_bundles": {
        "KGWLocationPicker": [
            "KGWLocationPicker/Assets/*.png"
        ]
    },
    "frameworks": [
        "UIKit",
        "CoreLocation",
        "MapKit"
    ]
}

Pin It on Pinterest

Share This