iphone - Unknown class CPTGraphHostingView in Interface Builder file -


i'm using new core plot version. i'm stuck in error. googled , went through many same question on stackoverflow, didn't find solution. want draw bar chart, have done necessary setting , coding require display bar chart, got stuck in error. have checked cptgraphhostingview on view on xib side. did other linker flag seting , wrote barchartview.hostedgraph = barchart. target memembership option checked. please let me know if i'm missing anything.

provided have setup right core plot header files , core-plot library included in project. here did fix problem.

in target build settings, set linker flags to:

-objc -force_load "core plot library name" 

-all_load not needed if using 4.2+ version.

the reason -force_load -all_load trying compile other libraries had in project.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -