UITableView and UITableCellView, how does this work with core plot ?

Posted by Luc on Stack Overflow See other posts from Stack Overflow or by Luc
Published on 2010-06-15T08:36:29Z Indexed on 2010/06/15 8:52 UTC
Read the original article Hit count: 409

Hello,

I'm very new to iPhone programming, and I'm currently following tutos to understand the whole thing. I've been able to do what I needed (retrive data from a JSON http server, parse them with YAJL and plot the data in core plot). I have done this in a "simple" view where I have added a UILayerHostingView as requested by core-plot.

I am now trying to follow this tuto: http://blogs.remobjects.com/blogs/mh/2010/01/26/p973 but I am missing the first part regarding the views...

My understanding is that I need to create a view with a UITableView first. Then add a UITableCellView to make the first cell be able to contain the graph ? Is this right ? Where does the method "(id)initWithStyle:(UITableViewCellStyle)style" come from ? For my needs, only the first cell needs to contain a graph, I will put some other info in the other cells.

As for now, I have created a new GraphListViewController, in the corresponding view I have added a listview but I do not see any auto generated methods regading cell customisation ? Do I need to implements DataSource in this controller and manually add some customisation methods ? Do I need to add a UITagbleViewCell to this UITableViewTable within IB ?

Hope I am not getting to confusing...

Thanks a lot for your help, Best Regards, Luc

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitableview