graphhopper / graphhopper/graphhopper-ios

Second level import Dont Work

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
73
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/14900734/31299194-4a7a6d6a-aabb-11e7-9288-195a36c45132.png)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.