I'm not sure to what extent it's appropriate to discuss this here
considering NDAs. So I hope the admins are ok with the following
comment:
Including CorePlot-CocoaTouch as a non-ARC subproject in an ARC
project works for me when I make the following handful of changes to
the headers (there are about 7 or 8 of these):
-@property (nonatomic, readwrite, assign) __weak
CPTAnnotationHostLayer *annotationHostLayer;
+@property (nonatomic, readwrite, weak) CPTAnnotationHostLayer
*annotationHostLayer;
That fixes the following error:
CPTAnnotation.h:17:1: error: property attributes 'assign' and 'weak'
are mutually exclusive [3]
@property (nonatomic, readwrite, assign) __weak
CPTAnnotationHostLayer *annotationHostLayer;
^
After that it works.
Now I have to admit I'm not entirely sure if I'm doing the right thing
here. I think it does but I want to check the docs at some point (note
to self: really, do it!). My app builds and runs with this change but
I haven't done any Leaks checking.
I also tried converting all of CorePlot to ARC but it threw up some
issues with setImage: (setters of CGImageRef things) that I wasn't
sure how to resolve straight away.
-sas