Project-OSRM / osrm-text-instructions.swift

Transform OSRM route responses into localized text instructions (Swift or Objective-C)
BSD 2-Clause "Simplified" License
15 stars 13 forks source link

Swift 5.0 #57

Open wolfAle opened 5 years ago

wolfAle commented 5 years ago

Hi guys,

I'm planning to use your library in a project of mine that's build with Swift5.x. Your library doesn't compile with xCode 10.2.1 because of this.

Is there any chance to get an updated version of it?

I'm happy to submit a pull request if it's ok on your side. :-)

Thanks, Alessandro

1ec5 commented 4 years ago

Hi @wolfAle, we’ll accept a PR. As you can probably tell, I haven’t been actively maintaining this project for a while. For what it’s worth, the Mapbox Directions API takes care of running OSRM responses through the main OSRM Text Instructions library in JavaScript, which is still actively maintained, on the server side. So you don’t need this Swift port of OSRMTI if you’re just using the Mapbox Navigation SDK, though you’re more than welcome to use it for other purposes. This port is also way behind on translations, but it probably can’t synchronize well unless grammar rules are implemented: #49.