Skip to content

piggeh/Objective-C-GeoIP-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The GeoIP Objective-C Library uses the Binary Format GeoLite country 
database by MaxMind. The latest version of the database is available 
from http://www.maxmind.com/app/geolitecountry

Example Usage

    GeoIP *lookup = [[GeoIP alloc] initWithDatabase:[filename path]];
    NSString *country = [lookup lookupCountryNameForIp:@"207.97.227.239"];
    NSLog(@"Country Name: %@", country);

About

Lookup countries for IP address using the MaxMind GeoLite Country database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published