Latest 0.1.2
Homepage https://github.com/harishkashyap/LocalSearchKit
License MIT
Platforms ios 7.0, requires ARC
Dependencies DataStructures
Frameworks UIKit, MapKit
Authors

[![CI Status](http://img.shields.io/travis/Harish Krishnamurthy/LocalSearchKit.svg?style=flat)](https://travis-ci.org/Harish Krishnamurthy/LocalSearchKit)
Version
License
Platform

Usage

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

  • Use cocoapods to setup your project. If you aren’t using cocoapods then install DataStructures library for Objective-C.

  • Setup the Delegate – in your viewcontroller or model and
    get a sharedInstance of the LSManager:

    • LSManager *searchManager = [LSManager sharedInstance];
    • searchManager.delegate = self;
  • Start to query various search operations around a CLLocation object. If you want to run a search operation for restaurants and theaters then:

    • [searchManager startOperationForQuery:@"restaurants" atLocation:location];
    • [searchManager startOperationForQuery:@"theaters" atLocation:location];
  • The searchResponse method will receive the LSMapItems that contain the boundingRegion as well as the MKMapItems.
    • (void)searchResponse:(LSMapItem )mapItem forQuery:(NSString )query

Requirements

LocalSearchKit requires DataStructures library. You can install DataStructures through cocoapods.

Installation

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

pod "LocalSearchKit"

Author

Harish Krishnamurthy, [email protected]

License

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

Latest podspec

{
    "name": "LocalSearchKit",
    "version": "0.1.2",
    "summary": "Addition to MKLocalSearch to handle multiple search queries",
    "description": "                       MKLocalSearch is a local POI search feature released by Apple.nn                       * It doesn't easily handle multiple queriesn                       * This is an addition of classes that help handle multiple queries simulatenously and effeciently.ntt       * Uses NSOperations to make search operation make effecient. n",
    "homepage": "https://github.com/harishkashyap/LocalSearchKit",
    "license": "MIT",
    "authors": {
        "Harish Krishnamurthy": "[email protected]"
    },
    "source": {
        "git": "https://github.com/harishkashyap/LocalSearchKit.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "frameworks": [
        "UIKit",
        "MapKit"
    ],
    "dependencies": {
        "DataStructures": []
    }
}

Pin It on Pinterest

Share This