- Jens
It definitely works, because others are doing it, so something must be wrong with your setup. Can you build CPTestApp for iPhone? If so, look at the Target settings there and compare them to what you have.
Drew
-Jens
On 12 Mrz., 10:02, Drew McCormack <drewmccorm...@mac.com> wrote:
> > Hi:
> > The setup description onhttp://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications
Drew
> --
> You received this message because you are subscribed to the Google Groups "coreplot-discuss" group.
> To post to this group, send email to coreplot...@googlegroups.com.
> To unsubscribe from this group, send email to coreplot-discu...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/coreplot-discuss?hl=en.
>
Drew
I will never overlook this dropdown again in target information
dialog!
Thanks anyway!
-Jens
The relevant code piece is :
....
CPLayerHostingView *hostingView = (CPLayerHostingView *)self.view;
hostingView.hostedLayer = graph;
....
----->
This leads to a bad access on "hostingView" because a UIView is
returned instead of CPLayerHostingView
*** -[UIView setHostedLayer:]: unrecognized selector sent to
instance
I already dragged the CPLayerHostingView.h file to the IB builder
window and created a UIView of class "CPLayerHostingView". But no
luck...
-Jens