Grouping TableView

enter image description here

I want to create a table view that looks like this image! Who can tell me an example or say how I can do this?

+4
source share
4 answers

This is a good tutorial on setting up a grouped UITableView, although it assumes that you have a graphical editor to create various custom images.

+2
source

Create a UITableView and set the style to UITableViewStyleGrouped (you can do this programmatically or in IB).

Then you want 2 sections, the first has 3 lines and the second has 1 line.

You should probably just look in the documentation for the UITableView and check the same code to get started, but this is the main format.

+7
source

Put this in your init method in your UITableView class

[super initWithStyle:UITableViewStyleGrouped]; 
0
source

I have something similar using grouped static uitableview to create a settings page. Look here Xcode 6 Tutorial Grouped UITableView with Swift

0
source

Source: https://habr.com/ru/post/1343631/


All Articles