graphhopper / graphhopper-ios

iOS Port of the GraphHopper road routing engine
https://www.graphhopper.com/open-source/
Apache License 2.0
69 stars 28 forks source link

Second level import Dont Work #29

Open randyhbh opened 7 years ago

randyhbh commented 7 years ago

Hi, I do not know how to explain this problem well, but I will do my best. When consuming objective-c classes in swift, you need to create a bridging-header and import the class you are going to use. Following the example of what is on this site I create my bridging-header file and import the same classes that are used in Directions.m, and here is what is strange for example in my bridging-header file import GHResponse.h like this #import "com/graphhopper/GHResponse.h" but when i try to use the .getErrors() method said me that it can find it

screen shot 2017-10-06 at 5 21 54 pm

Some one can help me, i dont undersatn this error. I don't know if it is my or not.