2011-05-13 3 views
0

J'ai suivi la documentation de CorePlot. Après avoir tout fait, je suis confronté au problème suivant:Problème CorePlot dans le cadre iPhone

error: 'CPLayerHostingView' undeclared (first use in this function) 

error: 'hostingView' undeclared (first use in this function) 

error: expected expression before ')' token 

error: object cannot be set - either readonly property or no setter found 

error: object cannot be set - either readonly property or no setter found 

error: object cannot be set - either readonly property or no setter found 

error: object cannot be set - either readonly property or no setter found 

error: object cannot be set - either readonly property or no setter found 

error: object cannot be set - either readonly property or no setter found 

Quel pourrait être le problème?

+0

duplication possible de [Core-Plot: Classe Inconnue CPLayerHostingView dans le fichier Interface Builder] (http://stackoverflow.com/questions/2431187/core-plot-unknown-class-cplayerhostingview-in-interface-builder-file) –

Répondre

1

Le nom a changé: CPLayerHostingView est maintenant CPTGraphHostingView. Cette modification était effective dans la version 0.4 pour iOS et MacOS pour les versions ultérieures.