-
-
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
Errors when importing BalloonMarker #2928
Comments
update your xcode. |
Thanks for the answer. I checked my xcode version, and I have Version 9.1 (9B55)...and still get the error. I use the charts pod, and copied the code for the balloonmarker manually from the demo component here on github. Am I missing something? |
You need to set the swift language to swift 4 from Swift 3.2 in Charts project (11/7/2017). |
@coolcool1994 I have set it like this. You mean in Build Settings -> Swift language version, right? Or do I have to change it somewhere else too? |
If you are using Cocoapod, you need to go to the workspace of your project, then click blue Pod file in the file navigator in the left. Once you click Pod, you need to select Charts in the center panel. There you change the Build Setting -> Swift language for THAT SPECIFIC PROJECT, and make that Swift 4 (as of 11/2017). This is different than just doing Build Settings -> Swift in your own project, okay? |
YES! That's right. After I did that the newest Charts Pod project worked for me. I can suggest you reinstall the Charts Project once again and check its latest version if this doesn't work. Because it worked for me. |
I found the old version, work in swift 3 open class BalloonMarker: MarkerImage
} |
Hey!
I imported the BalloonMarker.swift file into my project. when trying to build, I get several errors:
Is this anything I am doing wrong? When I deactivate those lines, I get a black marker with no content in it.
Thanks,
Jack
The text was updated successfully, but these errors were encountered: