Giter VIP home page Giter VIP logo

localsearchmanager's Introduction

LocalSearchManager

A MKLocalSearchCompleter and MKLocalSearch manage writen in Swift.

LocalSearchManager uses Carthage for distribution.

LocalSearchManager is available on iOS and requires 9.3

To install this framework

Add Carthage files to .gitignore #Carthage Carthage/Build

Check your Carthage Version to make sure Carthage is installed locally: Carthage version

Create a CartFile to manage your dependencies: Touch CartFile

Open the Cartfile and add this as a dependency. (in OGDL): github "sevenapps/LocalSearchManager" "master"

Update your project to include the framework: Carthage update --platform iOS

Add the framework to 'Linked Frameworks and Libraries' in the Xcode Project by dragging and dropping the framework created in Carthage/Build/iOS/LocalSearchManager.framework

Add this run Script /usr/local/bin/carthage copy-frameworks

Add this input file to the run script $(SRCROOT)/Carthage/Build/iOS/LocalSearchManager.framework

If Xcode has issues finding your framework Add $(SRCROOT)/Carthage/Build/iOS To 'Framework Search Paths' in Build Settings

To use this framework

Initilize this manager by conforming to its delegate, and setting a searchSpan the center coordinate of the search region is set when starting the search request.

UpdateSearchRequest will callBack searchCompleter(returnedResults) with a list of the found results matching a query fragement in real time.

Once you have a result you'd like to grab the exact location of, call findExactLocation which will call back localSearch(ReturnedMapItems)

localsearchmanager's People

Watchers

Ryan Anderson avatar James Cloos avatar Juan Fernandez avatar Aaron Bikis avatar Michal Malek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.