This parser is a simple NMEA parser, which currently only supports the NMEA type RMC. It can be used to get the location
data from an NMEA string. Assuming the string will look like this:
"$GPRMC,031849.49,A,5209.028,N,00955.836,E,,,310517,,E*7D"
the NmeaParser will return an CLLocation object that contains the course, longitude and latitude.
At the moment, this parser is very basic and under development. There is no guarantee that it will always deliver a valid location.
Just call NmeaParser.parseSentence(data: String) -> CLLocation
.
NmeaParser is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "NmeaParser"
Johannes Steudle, tweetjay2@gmail.com
NmeaParser is available under the MIT license. See the LICENSE file for more info.