Sub-section Table view
A simple table view has only one section, which is actually a special case of a section table view. A table can have more than one section, and a section has a foot, and a subsection is a precondition for indexing and grouping.
The correct use principle of the index is as seen:
1 . The index title cannot be the same as the caption displayed. the index becomes meaningless if it is consistent with the title to be displayed.
2, the index title should be representative. Can represent a collection of data.
3 . Assume that an indexed list view is used, and the extended view is no longer used under normal circumstances. when the indexed list view coexists with the extended view. There is a conflict between the two.
When clicking on the index header, very easy click to expand View.
The right way to use it. For example, with:
The format of the data file, for example, by:
, such as the following:
Source code: 4.NodeTable
Grouping and static tables
Open its property inspector and select the grouped option from the Style property drop-down list, for example:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
。 For example, the following:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
Source code: 5.StaticTableGroup
IOS Sub-section table view