2011-05-13 24 views
0

我遵循CorePlot的文檔。做完所有事情之後,我面臨以下問題:iPhone框架中的問題CorePlot

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 

可能是什麼問題?

+0

[Core -Plot:Unknown class CPLayerHostingView in Interface Builder file]可能的重複(http://stackoverflow.com/questions/2431187/core-plot-unknown-class-cplayerhostingview-in-interface-builder-file) – 2011-05-13 17:05:07

回答

1

名稱變了:CPLayerHostingView現在是CPTGraphHostingView。此更改在iOS和MacOS的發佈版0.4中適用於以後的版本。