Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBChartView and Swift #240

Closed
Dirk23 opened this issue Jul 10, 2018 · 2 comments
Closed

JBChartView and Swift #240

Dirk23 opened this issue Jul 10, 2018 · 2 comments

Comments

@Dirk23
Copy link

Dirk23 commented Jul 10, 2018

Hi,

i just wanted to add JBChartView to my Project and installed it via Cocoapods. I already had a bridging header file in my project for fmdb (sqlite class). After installation i added the missing lines to the bridging header:

#import "JBChartView.h"
#import "JBBarChartView.h"
#import "JBLineChartView.h"

i already had #import <UIKit/UIKit.h> in the bridging header file for fmdb. But after compiling the project Xcode complains about all .h files for JBChartView wich can not be found.

bildschirmfoto 2018-07-10 um 20 55 26

What do i need to do here?

Regards

Dirk

@zadr
Copy link

zadr commented Jul 11, 2018

You'll want to import with framework search paths using angular brackets, e.g.: <JBChartView/JBChartView.h>

@Dirk23
Copy link
Author

Dirk23 commented Jul 12, 2018

Thank you @zadr that helped (after I removed the "" around the <JBChartView/JBChartView.h>)

@Dirk23 Dirk23 closed this as completed Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants