Repository navigation
Move instruction creation to core - #456
Conversation
There was a problem hiding this comment.
Unsure what to make this value.
There was a problem hiding this comment.
mapboxCoreNavigation makes sense. Bundle(for: self) should work even though it takes a class but we're inside an extension. How about the root of core navigation, which is RouteController? Bundle(for: RouteController.self)
There was a problem hiding this comment.
Can this file be merged with any others?
There was a problem hiding this comment.
I'd probably assume that this class extends NSFormatter but it doesn't need any of its functionality so let's keep it as it is.
|
I also added UI instruction creation to this PR. |
frederoni
left a comment
There was a problem hiding this comment.
Really like this move 👍
Verified with non-english regional settings and it all looks and sounds good.
There was a problem hiding this comment.
This broke instruction localization, since mapbox/mapbox-directions-swift#133 hasn’t been implemented yet: #524.
Sorry, I misread this PR. 😳
Taking a 3rd stab at #453
This moves voice and instructions creation to core. This will allow developers to who use core to create instructions to be used in their own speech synthesizer or use the one built into ios.
todo:
/cc @1ec5 @frederoni @ericrwolfe