Reputation: 1
Hi I'm new in iPhone programming, I'm looking for someone who can give me a tutorial on how to create a grouped TableView style please, if you can post an example with the .h and .m files, that will be much appreciated. Thanks in advance.
Upvotes: 0
Views: 360
Reputation: 1761
If you are new to iOS I strongly suggest you check out the stanford course Developing Apps for iOS. Section 10 talks about TableView.
Upvotes: 0
Reputation: 150615
There is a simple example on the Apple Developer Site called TheElements which shows how to set the different styles.
Upvotes: 1
Reputation: 5831
You can just set it up as you would a regular tableView. If you are using Interface Builder, you can change the style there. Or if you are creating it programmatically, you can set initWithStyle:UITableViewStyleGrouped
, which gives you the desired look.
Here is a good tutorial to help you get started if you are unfamiliar with creating a tableView in general
Upvotes: 1