core-plot: dataSource not available with xCode version 7.3

After updated xCode latest version (7.3). There is an error with core plot datasource. (Previous version its worked.)

datasource not available

this is original @property (nonatomic, readwrite, cpt_weak_property) __cpt_weak id<CPTPlotDataSource> dataSource; and i just remove __cpt_weak it worked. @property (nonatomic, readwrite, cpt_weak_property) id<CPTPlotDataSource> dataSource; i don’t know can i remove __cpt_weak. @eskroch

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 17 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Weak properties require automatic reference counting. Turning on ARC in the files that reference any Core Plot weak properties will eliminate the error.

I know how, but I’m not sure if I can safely turn off the weak setting when compiling client apps without ARC. I need to research that further.

Same problem. version 2.0, XCode 7.3