How to change to a grouped table view in xcode without using Interface Builder

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-03-25T00:35:45Z Indexed on 2010/03/25 0:43 UTC
Read the original article Hit count: 470

I have a table that I created within xcode so there is no nib file in this case. I want to make my table into the 'Grouped' style but im not sure how.

I think it has somthing to do with the method below, the problem is Im not really sure how to call it, I do understand how methods work I'm just not too sure on where to start with this one:

- (id)initWithFrame:(CGRect)frame style:(UITableViewStyle)UITableViewStyleGrouped

So could someone tell me how to call it? The problem is that its not a method I wrote its a built in one so I could put that line into my header file but how would I use it in my implementation file?

Thanks guys,

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about xcode