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

HELP : some problem never met about iOS-charts #341

Closed
lizan402 opened this issue Sep 6, 2015 · 4 comments
Closed

HELP : some problem never met about iOS-charts #341

lizan402 opened this issue Sep 6, 2015 · 4 comments

Comments

@lizan402
Copy link

lizan402 commented Sep 6, 2015

Uploading 屏幕快照 2015-09-06 下午8.42.03.png…
I run my progress on iPhone4s , it works successfully
,but with 10 faults.
Faults like :

  1. Unknown type name 'LineChartView'
    2.Property with 'retain (or strong)' attribute must be of object type
    as shown in the figure;
@danielgindi
Copy link
Collaborator

Make sure that the framework is compiling correctly before using it.
Follow the instructions in the README, and then compile.
Only after that - add the charts to your view. If you are using as an Embedded Framework, then you will need to use the namespace (Charts.LineChartView).

@lizan402
Copy link
Author

lizan402 commented Sep 8, 2015

I have follow your step(usage) to compile. but it won't show fault at simulator. only on real iPhone.
and Under the class using this framework is selected, it will be 10 error. but when other class is selected , it won't. that's very weird. Werther there is error, it always run successfully.

My progress is based on Object-C. "Charts.LineChartView " you said is Swift's grammar?

looking forward your answer.

@liuxuan30
Copy link
Member

You have to be clear what are the errors, iOS version, etc. only on real iPhone you mean archive or just debugging? There's not enough info.

If you are objc project on iOS 7, make sure you set up your project for swift correctly, checkout #270

@danielgindi
Copy link
Collaborator

Please follow the README to the point. Read carefully. The instructions are pretty simple.

If you are still having trouble, then post examples of your problem so the people trying to help can diagnose it.

Feel free to re-open if the issue was not resolved yet.

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

3 participants