-
-
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
Still seeing undeclared UIColor, CGFloat error with latest code #133
Comments
The files having errors: |
Alright, I found that the BubbleChart related swift file is missing something like: import Foundation
import CoreGraphics.CGBase
import UIKit After I manually add them, errors gone. Now the questions are: Q1: chart demo code does not report any issue even without Q2: I see some files are using I am not sure if we should follow the small package scope principle? I am not sure if I use |
Same issue here with the swift files drop method (for iOS 7 support). Had to add the imports you specified. |
I am trying to add the whole
charts
directory into my Objective-C project, so the structure is:ThirdParty
|
ios-charts
|
classes
|
Animation, Charts, Components, Data, Filters, Renderers, Utils
What I changed the project setting:
I also see the setting shows the $Module_name-Swift.h was set, but I don't see xcode generates it.
After I try build,
It throws lots of errors like undeclared CGFloat, UIColor, etc. I searched the closed issues, but they are not my case. My code is the latest.
What did I miss?
The text was updated successfully, but these errors were encountered: