core plot error?

Posted by senthilmuthu on Stack Overflow See other posts from Stack Overflow or by senthilmuthu
Published on 2010-05-26T12:04:25Z Indexed on 2010/05/27 0:41 UTC
Read the original article Hit count: 165

Filed under:
|

hi, i am using core plot framework,when i run following code in viewdidload gives crash.the view is as custom view...

graph = [(CPXYGraph *)[CPXYGraph alloc] initWithFrame:CGRectZero];
CPLayerHostingView *hostingView = (CPLayerHostingView *)self.view;
hostingView.hostedLayer = graph;**(gives error)**

what i have to do? any help please?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk