Reputation: 2378
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 ?
Upvotes: 0
Views: 277
Reputation: 27381
The name has changed: CPLayerHostingView
is now CPTGraphHostingView
. This change was effective in release 0.4 for iOS and MacOS for later releases.
Upvotes: 1