-
-
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
Unable to select BarChartView from storyboard (iOS) #1892
Comments
You might have to build charts once first for things to show up. |
@petester42 I don't understand your answer as Charts is installed using Carthage. |
@petester42 Make sure you also set the Module in Interface Builder (below the "Class" setting) to "Charts". |
What @paulpilone said as well. |
@paulpilone I already tried to set class settings on StoryBoard:
Currently I create a Charts has been installed using classic Carthage command |
@Domsware I was having same issue as you. Seems the trick is in Interface Builder set the Class first ("BarChartView") and then set the Module ("Charts"). If you set the module first Xcode will auto delete it as you mentioned. You have to manually type in the Module name but it doesn't delete itself if the Class is already set. |
@Mossby Thank you for you help. If my memory is correct I've tried to do this but without success. |
@Domsware I just found out you can also just subclass (i.e. MyBarChart: BarChartView { }) and then you don't have to set the module at all. |
I think this can be closed |
Same problem as #1197 but for iOS.
I want to integrate Charts to my Swift 2.3 project, Xcode 8
Installation using Carthage
And I can't set BarChartView on graph view on StoryBoard.
The text was updated successfully, but these errors were encountered: