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

imports without pods #140

Closed
matthewchung74 opened this issue Mar 5, 2015 · 5 comments
Closed

imports without pods #140

matthewchung74 opened this issue Mar 5, 2015 · 5 comments

Comments

@matthewchung74
Copy link

A note for the docs, if you are not using pods, your imports should look like

import "JBChartView.h"

import "JBBarChartView.h"

import "JBLineChartView.h"

@terryworona
Copy link
Collaborator

You only need to import either JBBarChartView or JBLineChartView, or both if you want to use two charts in one class.

This is pretty explanatory and would be overkill to include. Leaving it out of docs for now.

@matthewchung74
Copy link
Author

sure. i just wanted to point out the docs refer to the path where it's not needed. but no biggie.
#import "JBChartView/JBChartView.h"
#import "JBChartView/JBBarChartView.h"
#import "JBChartView/JBLineChartView.h"

@terryworona
Copy link
Collaborator

That's for a bridging header - it's not the same as a straight up import in objective-c land.

Or I am missing something?

@matthewchung74
Copy link
Author

here are 2 screenshots of my bridging header

shot2
shot1

@terryworona
Copy link
Collaborator

Ah got it. Not sure why there was a JBChartView/ path in there. I've updated the README. Thanks.

terryworona pushed a commit that referenced this issue Mar 5, 2015
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