A library for parsing and creation of GPX location files. Purely Swift.
As reported in merlos/iOS-Open-GPX-Tracker issue #132, specific regions like Russia, may cause date creation in time attribute to not conform to ISO8601 standards.
This release fixes that, through forcing the DateFormatter
to use Locale en_US_POSIX
regardless of region.
Special thanks to @teran from reporting about this issue!
This release is a more feature packed one... So what can be expected?
Codable
support across all GPX schema elementsGPXFix
that makes senseSpecial Thanks to @mrfeet for contributing towards the project's tests
Hope you will enjoy this release of CoreGPX! 🎉
This update fixes an issue as there is a possibility that when parsing a GPX file with route extensions, it may crash.
Thanks @voynovia for noticing this behaviour, and correcting it through #44!
This update is a conversion to Swift 5 of the whole project.
As of conversion, there is zero code changes required, only project changes.
For those still using Swift 4.2, you may take a look at branch swift4.2. However, going forward, the Swift 4.2 branch will probably not be updated, and support will only be given for the latest swift version.
This update includes the following:
GPXCopyright
year may not parse correctlyGPXEmail
intended to simplify its useThat's about it! Thanks for your support!
This update includes:
Full extensions support should be coming soon. Probably in 0.7.0! Swift 5 support will be here very soon as well.
This release fixes the following:
GPXLink
's type attribute not parsing correctlyGPXBounds
& GPXCopyright
failure to generate correct open tagAll open tags are now generated through an extension function for NSMutableString
, which should fix all open tag issues, for all future releases.
Thanks to @INDAPP for spotting the issue!
Basic Codable
support have been implemented for some classes, including:
GPXExtensions
GPXLink
GPXRoute
GPXWaypoint
GPXTrack
GPXTrackSegment
GPXTrackPoint
GPXWaypoint
Serialization for the following types should now be made easy!
Minor update. The parser will now parse the GPX file's version and creator as well.
This update contains the following:
GPXWaypoint
for declutteringGPXLink
GPXEmail
, for a more user friendly approachGPXParser
's internally used objects