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