Latest0.2
Homepagehttps://github.com/blackm00n/QTree-objc
LicenseMIT
Platformsios , requires ARC
FrameworksCoreLocation, MapKit
Authors

Library for location-based clustering of data using Quadtree written in Objective-C.

Suppose you have a lot of items to display on a map.

You will got a mess if you just add all of them as annotations to the map. It’s better to merge items that are close to each other into clusters.
No Clusterization Screenshot No Clusterization Screenshot

Clustering will help you to get a neater map and increase its performance.
QuadTree will help you to get a stable (unlike k-nearest neighbor algorithm) and fast clustering.

Installation

The best approach is to use CocoaPods.

Install CocoaPods gem if it’s not installed yet and setup its enviroment:

$ [sudo] gem install cocoapods
$ pod setup

Go to the directory containing your project’s .xcodeproj file and create Podfile:

$ cd ~/Projects/MyProject
$ vim Podfile

Add the following lines to Podfile:

platform :ios
pod 'QTree-objc'

Finally install your pod dependencies:

$ [sudo] pod install

That’s all, now open just created .xcworkspace file

Usage

You can look at QTreeSample project to see QTree-objc in action.

Contact

Aleksey Kozhevnikov

Latest podspec

{
    "name": "QTree-objc",
    "platforms": {
        "ios": null
    },
    "version": "0.2",
    "summary": "Library for location-based clustering of data using Quadtree written in Objective-C.",
    "homepage": "https://github.com/blackm00n/QTree-objc",
    "license": "MIT",
    "authors": {
        "Aleksey Kozhevnikov": "[email protected]"
    },
    "source": {
        "git": "https://github.com/blackm00n/QTree-objc.git",
        "tag": "0.2"
    },
    "source_files": "QTree/QTree",
    "frameworks": [
        "CoreLocation",
        "MapKit"
    ],
    "requires_arc": true,
    "compiler_flags": "-fmodules"
}

Pin It on Pinterest

Share This