johnmckerrell / locationmanagersimulator Goto Github PK
View Code? Open in Web Editor NEWA simulator for the CLLocationManager class in the iPhone SDK.
Home Page: http://johnmckerrell.com/
A simulator for the CLLocationManager class in the iPhone SDK.
Home Page: http://johnmckerrell.com/
LocationManagerSimulator ------------------------ John McKerrell johnmckerrell.com This is a basic wrapper for the CLLocationManager class in the iPhone SDK CoreLocation framework. It is intended to allow you to get real test data into the iPhone Simulator by replaying existing GPX files. I've added stratford.gpx and stratford.plist files which can be used as a demo, many more that could be used for testing can be found here: http://www.openstreetmap.org/traces If you find a good demo feel then fork the project add the file and push it back to me. Known Issues ------------ stopUpdatingLocation does work but when you restart it will not start from the same point, it will be as if you continued on the journey, which may be correct but I imagine some people would prefer if you carried on where you left off. Might be nice if this was a proper framework instead of a few classes that you had to add to your project. Preparing files --------------- You will need to find or create a GPX file and convert it into a plist using the gpx2plist.sh shell script: gpx2plist.sh myfile.gpx myfile.plist Then add the plist file to your project's resources. To use.. for now just drag this directory into your project then: #import "LocationManagerSimulator.h" ... LocationManagerSimulator *locationManager; // It is also possible to just use init which will look // for a file called "simulated-locations.plist" // and multiplier of 1.0 locationManager = [[LocationManagerSimulator alloc] initWithFilename:@"test-gps" andMultiplier:3.0]; // continue in the normal way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.