IOS Sub-section table view

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.