-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Can I use this library in an objective-c project targeting iOS 7 & 8? #206
Comments
yes you can. read README and #108 |
I drag all the swift files to the project. When I compile, there are many Swift Compiler Error, e.g. "Use of unresolved identifier CGFloat", "Use of undeclared type UIColor". Is there anything else that I need to do after dragging the swift files? |
I have met this too. Check if you miss Paste code will help. |
i compile chartsdemo with device 5s ios 7.1 ,it remind: need a recent enough viersion of ios when i compile in simulator ios 8.1 ,proterty 'shadowColorSameAsCandle ' not found on object of type 'CandlerChartDataSet * ' |
if the demo in release 2.1 does not support ios 7.1? |
i changed the target 8.0 to 7.0 Library/Developer/Xcode/DerivedData/ChartsDemo-hgbdlbkgurqiigcqlbovqsnignai/Build/Products/Debug-iphonesimulator/Charts.framework/Modules/Charts.swiftmodule/x86_64.swiftmodule Is this means the library doesn't support 7.1?? |
It supports iOS 7, but you only need the swift files if it is based on 7.0. For iOS 8, you can use the binary framework, swift files is not a must. Again, read README and #108, it explains well I think. |
Thanks @liuxuan30 ! It works for iOS7.0 after I added "import UIKit" to all the swift files. |
@xdf103 you are welcome. However, you should not add |
close this if you no longer have such issue. |
I really like this project. Can I use this library in an objective-c project targeting iOS 7 & 8? If yes, how to set it up? I am using Xcode 6.3.2
Regards,
Frank
The text was updated successfully, but these errors were encountered: