Проблема CorePlot в фреймворке iPhone - PullRequest
0 голосов
/ 13 мая 2011

Я следовал документации 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

В чем может быть проблема?

1 Ответ

1 голос
/ 03 сентября 2011

Имя изменилось: CPLayerHostingView теперь CPTGraphHostingView.Это изменение вступило в силу в версии 0.4 для iOS и MacOS для более поздних версий.

...