0

I have followed the documentation of CorePlot. After doing everything, I am facing following problem:

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

What might be the problem ?

gcamp
  • 14,571
  • 4
  • 53
  • 81
user601367
  • 2,238
  • 12
  • 34
  • 44
  • possible duplicate of [Core-Plot: Unknown class CPLayerHostingView in Interface Builder file](http://stackoverflow.com/questions/2431187/core-plot-unknown-class-cplayerhostingview-in-interface-builder-file) – Brad Larson May 13 '11 at 17:05

1 Answers1

1

The name has changed: CPLayerHostingView is now CPTGraphHostingView. This change was effective in release 0.4 for iOS and MacOS for later releases.

Eric Skroch
  • 27,391
  • 3
  • 27
  • 36