Giter Club home page Giter Club logo

ip2location / ip2location-cocoa Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 0.0 873 KB

This is IP2Location Cocoa library that enables the user to find the country, region (state), city, latitude, longitude, zip code, time zone, ISP, domain name, connection type, area code, weather, mobile network, elevation, usage type, address type and IAB category by IP address or hostname originates from.

Home Page: http://www.ip2location.com

License: GNU General Public License v2.0

Objective-C 27.60% C 72.40%
ip2location-cocoa ip-database geolocation ip-lookup ip-geolocation ip2location cocoa

ip2location-cocoa's Introduction

IP2Location Cocoa 8.0.0
=======================

This is IP2Location Cocoa library that enables the user to find the country, region (state), city, latitude, longitude, zip code, time zone, ISP, domain name, connection type, area code, weather, mobile network, elevation, and usage type by IP address or hostname originates from.  It contains a demo IP2Location IP-COUNTRY BIN database which consists of real data for IP address range 0.0.0.0 to 99.255.255.255.  This database contains IP address blocks as key and countries as values.  The paid version of IP2Location database covers all IP address range. IP2Location is complete, fast and accurate compares to using reverse DNS lookups. Developers can download other sample databases to evaluate other features such as region (state), city, latitude, longitude, zip code, time zone, ISP, domain name, connection type, area code, weather, mobile network, elevation, and usage type using the same Cocoa library.

For more details, please visit:
https://www.ip2location.com/developers/cocoa


Installation (Mac OS X)
-----------------------
1. Download and decompress ip2location-cocoa-x.x.x.zip
2. For Xcode usage:
	a. Add ip2location.framework to your Xcode project by dragging and dropping it into Project Navigator
	b. In your appropriate target, under "Build Settings", select "Runpath Search Paths" in the "Linking" category, and enter "@loader_path/../Frameworks" (without the quotes).
	c. Build your project
3. For build from command line or makefile
	a. Copy ip2location.framework to your working directory
	b. Build and link your target with following options added (without the quotes): "-F. -L. -Wl,-framework,ip2location -Wl,-framework,Foundation"
	c. Change linked framework path in your binary: "install_name_tool -change @rpath/ip2location.framework/Versions/A/ip2location ip2location.framework/Versions/A/ip2location binary_executable"


Download More Sample Databases
------------------------------
Download the database at https://www.ip2location.com/developers/cocoa

IPv4 BIN vs IPv6 BIN
--------------------
Use the IPv4 BIN file if you just need to query IPv4 addresses.

Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses.


For support, please email us at [email protected] or visit our website at https://www.ip2location.com

ip2location-cocoa's People

Contributors

ip2location avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.