user601367
user601367

Reputation: 2378

Problem CorePlot in iPhone framework

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

Answers (1)

Eric Skroch
Eric Skroch

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

Related Questions